Bases: horizon.forms.base.SelfHandlingForm
-
PERIOD_CHOICES = (('1', <django.utils.functional.__proxy__ object at 0x7f6abc6f8190>), ('7', <django.utils.functional.__proxy__ object at 0x7f6abc6f8250>), ('6', <django.utils.functional.__proxy__ object at 0x7f6abc6f8c50>), ('15', <django.utils.functional.__proxy__ object at 0x7f6abc6f83d0>), ('30', <django.utils.functional.__proxy__ object at 0x7f6abc6f8690>), ('365', <django.utils.functional.__proxy__ object at 0x7f6abc6f8990>), ('other', <django.utils.functional.__proxy__ object at 0x7f6abc6f8410>))
-
base_fields = OrderedDict([('period', <horizon.forms.fields.ThemableChoiceField object at 0x7f6abc6f8450>), ('date_from', <django.forms.fields.DateField object at 0x7f6aba2e1f10>), ('date_to', <django.forms.fields.DateField object at 0x7f6aba2e1f50>)])
-
clean_date_from()[source]
-
clean_date_to()[source]
-
declared_fields = OrderedDict([('period', <horizon.forms.fields.ThemableChoiceField object at 0x7f6abc6f8450>), ('date_from', <django.forms.fields.DateField object at 0x7f6aba2e1f10>), ('date_to', <django.forms.fields.DateField object at 0x7f6aba2e1f50>)])
-
handle(request, data)[source]
-
media