Bases: horizon.forms.base.SelfHandlingForm
-
PERIOD_CHOICES = (('1', <django.utils.functional.__proxy__ object at 0x7f424649de90>), ('7', <django.utils.functional.__proxy__ object at 0x7f424649d790>), ('30', <django.utils.functional.__proxy__ object at 0x7f424649db90>), ('15', <django.utils.functional.__proxy__ object at 0x7f424649db10>), ('30', <django.utils.functional.__proxy__ object at 0x7f424649d5d0>), ('365', <django.utils.functional.__proxy__ object at 0x7f424649d690>), ('other', <django.utils.functional.__proxy__ object at 0x7f424649d450>))
-
base_fields = OrderedDict([('period', <horizon.forms.fields.ThemableChoiceField object at 0x7f424649d190>), ('date_from', <django.forms.fields.DateField object at 0x7f42463fa9d0>), ('date_to', <django.forms.fields.DateField object at 0x7f42463fa310>)])
-
clean_date_from()[source]
-
clean_date_to()[source]
-
declared_fields = OrderedDict([('period', <horizon.forms.fields.ThemableChoiceField object at 0x7f424649d190>), ('date_from', <django.forms.fields.DateField object at 0x7f42463fa9d0>), ('date_to', <django.forms.fields.DateField object at 0x7f42463fa310>)])
-
handle(request, data)[source]
-
media