fobi.contrib.plugins.form_elements.fields.time package¶
Submodules¶
fobi.contrib.plugins.form_elements.fields.time.apps module¶
fobi.contrib.plugins.form_elements.fields.time.fobi_form_elements module¶
-
class
fobi.contrib.plugins.form_elements.fields.time.fobi_form_elements.
TimeInputPlugin
(user=None)[source]¶ Bases:
fobi.base.FormFieldPlugin
Time field plugin.
-
form
¶ alias of
TimeInputForm
-
group
= <django.utils.functional.__proxy__ object>¶
-
name
= <django.utils.functional.__proxy__ object>¶
-
submit_plugin_form_data
(form_entry, request, form)[source]¶ Submit plugin form data/process.
Parameters: - form_entry (fobi.models.FormEntry) – Instance of
fobi.models.FormEntry
. - request (django.http.HttpRequest) –
- form (django.forms.Form) –
- form_entry (fobi.models.FormEntry) – Instance of
-
uid
= 'time'¶
-
fobi.contrib.plugins.form_elements.fields.time.forms module¶
-
class
fobi.contrib.plugins.form_elements.fields.time.forms.
TimeInputForm
(data=None, files=None, auto_id=u'id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, field_order=None, use_required_attribute=None)[source]¶ Bases:
django.forms.forms.Form
,fobi.base.BaseFormFieldPluginForm
Form for
TimeInputPlugin
.-
base_fields
= OrderedDict([('label', <django.forms.fields.CharField object at 0x7f816f21b1d0>), ('name', <django.forms.fields.CharField object at 0x7f816f21b210>), ('help_text', <django.forms.fields.CharField object at 0x7f816f21b2d0>), ('initial', <django.forms.fields.TimeField object at 0x7f816f21b390>), ('input_formats', <django.forms.fields.CharField object at 0x7f816f21b450>), ('required', <django.forms.fields.BooleanField object at 0x7f816f21b510>)])¶
-
declared_fields
= OrderedDict([('label', <django.forms.fields.CharField object at 0x7f816f21b1d0>), ('name', <django.forms.fields.CharField object at 0x7f816f21b210>), ('help_text', <django.forms.fields.CharField object at 0x7f816f21b2d0>), ('initial', <django.forms.fields.TimeField object at 0x7f816f21b390>), ('input_formats', <django.forms.fields.CharField object at 0x7f816f21b450>), ('required', <django.forms.fields.BooleanField object at 0x7f816f21b510>)])¶
-
media
¶
-
plugin_data_fields
= [('label', ''), ('name', ''), ('help_text', ''), ('initial', ''), ('input_formats', ''), ('required', False)]¶
-