Bases: horizon.forms.base.SelfHandlingForm
-
PERIOD_CHOICES = (('1', <django.utils.functional.__proxy__ object at 0x75e28d0>), ('7', <django.utils.functional.__proxy__ object at 0x75e2bd0>), ('6', <django.utils.functional.__proxy__ object at 0x9abc210>), ('15', <django.utils.functional.__proxy__ object at 0x9abc9d0>), ('30', <django.utils.functional.__proxy__ object at 0x9abc110>), ('365', <django.utils.functional.__proxy__ object at 0x9abcf90>), ('other', <django.utils.functional.__proxy__ object at 0x9abcb50>))
-
base_fields = OrderedDict([('period', <horizon.forms.fields.ThemableChoiceField object at 0x9abc250>), ('date_from', <django.forms.fields.DateField object at 0x9abcf10>), ('date_to', <django.forms.fields.DateField object at 0x9a82d10>)])
-
clean_date_from()[source]
-
clean_date_to()[source]
-
declared_fields = OrderedDict([('period', <horizon.forms.fields.ThemableChoiceField object at 0x9abc250>), ('date_from', <django.forms.fields.DateField object at 0x9abcf10>), ('date_to', <django.forms.fields.DateField object at 0x9a82d10>)])
-
handle(request, data)[source]
-
media