Bases: horizon.forms.base.SelfHandlingForm
-
PERIOD_CHOICES = (('1', <django.utils.functional.__proxy__ object at 0x7f1036ebb550>), ('7', <django.utils.functional.__proxy__ object at 0x7f1036ebb990>), ('31', <django.utils.functional.__proxy__ object at 0x7f1036ebb190>), ('15', <django.utils.functional.__proxy__ object at 0x7f1036ebb150>), ('30', <django.utils.functional.__proxy__ object at 0x7f1036ebb490>), ('365', <django.utils.functional.__proxy__ object at 0x7f1036ebb650>), ('other', <django.utils.functional.__proxy__ object at 0x7f1036ebbd90>))
-
base_fields = OrderedDict([('period', <horizon.forms.fields.ThemableChoiceField object at 0x7f1036ebbb50>), ('date_from', <django.forms.fields.DateField object at 0x7f1034ff8990>), ('date_to', <django.forms.fields.DateField object at 0x7f1034ff8090>)])
-
clean_date_from()[source]
-
clean_date_to()[source]
-
declared_fields = OrderedDict([('period', <horizon.forms.fields.ThemableChoiceField object at 0x7f1036ebbb50>), ('date_from', <django.forms.fields.DateField object at 0x7f1034ff8990>), ('date_to', <django.forms.fields.DateField object at 0x7f1034ff8090>)])
-
handle(request, data)[source]
-
media