fobi.contrib.plugins.form_elements.fields.decimal package¶
Submodules¶
fobi.contrib.plugins.form_elements.fields.decimal.apps module¶
fobi.contrib.plugins.form_elements.fields.decimal.fobi_form_elements module¶
-
class
fobi.contrib.plugins.form_elements.fields.decimal.fobi_form_elements.
DecimalInputPlugin
(user=None)[source]¶ Bases:
fobi.base.FormFieldPlugin
Decimal input plugin.
-
form
¶ alias of
DecimalInputForm
-
group
= <django.utils.functional.__proxy__ object>¶
-
name
= <django.utils.functional.__proxy__ object>¶
-
uid
= 'decimal'¶
-
fobi.contrib.plugins.form_elements.fields.decimal.forms module¶
-
class
fobi.contrib.plugins.form_elements.fields.decimal.forms.
DecimalInputForm
(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
DecimalInputPlugin
.-
base_fields
= OrderedDict([('label', <django.forms.fields.CharField object at 0x7f274da804d0>), ('name', <django.forms.fields.CharField object at 0x7f274da80510>), ('help_text', <django.forms.fields.CharField object at 0x7f274da805d0>), ('initial', <django.forms.fields.DecimalField object at 0x7f274da80690>), ('max_digits', <django.forms.fields.IntegerField object at 0x7f274da80790>), ('decimal_places', <django.forms.fields.IntegerField object at 0x7f274da80850>), ('min_value', <django.forms.fields.DecimalField object at 0x7f274da80910>), ('max_value', <django.forms.fields.DecimalField object at 0x7f274da80a10>), ('required', <django.forms.fields.BooleanField object at 0x7f274da80b10>), ('placeholder', <django.forms.fields.CharField object at 0x7f274da80bd0>)])¶
-
declared_fields
= OrderedDict([('label', <django.forms.fields.CharField object at 0x7f274da804d0>), ('name', <django.forms.fields.CharField object at 0x7f274da80510>), ('help_text', <django.forms.fields.CharField object at 0x7f274da805d0>), ('initial', <django.forms.fields.DecimalField object at 0x7f274da80690>), ('max_digits', <django.forms.fields.IntegerField object at 0x7f274da80790>), ('decimal_places', <django.forms.fields.IntegerField object at 0x7f274da80850>), ('min_value', <django.forms.fields.DecimalField object at 0x7f274da80910>), ('max_value', <django.forms.fields.DecimalField object at 0x7f274da80a10>), ('required', <django.forms.fields.BooleanField object at 0x7f274da80b10>), ('placeholder', <django.forms.fields.CharField object at 0x7f274da80bd0>)])¶
-
media
¶
-
plugin_data_fields
= [('label', ''), ('name', ''), ('help_text', ''), ('initial', ''), ('max_digits', ''), ('decimal_places', ''), ('min_value', None), ('max_value', None), ('required', False), ('placeholder', '')]¶
-