Bases: horizon.forms.base.SelfHandlingForm
-
PERIOD_CHOICES = (('1', <django.utils.functional.__proxy__ object at 0xb2d8ed0>), ('7', <django.utils.functional.__proxy__ object at 0xb2d8f90>), ('3', <django.utils.functional.__proxy__ object at 0xb2d8dd0>), ('15', <django.utils.functional.__proxy__ object at 0x9ce8dd0>), ('30', <django.utils.functional.__proxy__ object at 0x9ce8a90>), ('365', <django.utils.functional.__proxy__ object at 0x9ce8050>), ('other', <django.utils.functional.__proxy__ object at 0x9ce8f50>))
-
base_fields = OrderedDict([('period', <horizon.forms.fields.ThemableChoiceField object at 0x9ce87d0>), ('date_from', <django.forms.fields.DateField object at 0xb457a90>), ('date_to', <django.forms.fields.DateField object at 0xb457d10>)])
-
clean_date_from()[source]
-
clean_date_to()[source]
-
declared_fields = OrderedDict([('period', <horizon.forms.fields.ThemableChoiceField object at 0x9ce87d0>), ('date_from', <django.forms.fields.DateField object at 0xb457a90>), ('date_to', <django.forms.fields.DateField object at 0xb457d10>)])
-
handle(request, data)[source]
-
media