Bases: horizon.forms.base.SelfHandlingForm
-
PERIOD_CHOICES = (('1', <django.utils.functional.__proxy__ object at 0x854dc50>), ('7', <django.utils.functional.__proxy__ object at 0x854d050>), ('5', <django.utils.functional.__proxy__ object at 0x8fc17d0>), ('15', <django.utils.functional.__proxy__ object at 0x8fc1c10>), ('30', <django.utils.functional.__proxy__ object at 0x8fc1d10>), ('365', <django.utils.functional.__proxy__ object at 0x8fc1250>), ('other', <django.utils.functional.__proxy__ object at 0x8fc1590>))
-
base_fields = OrderedDict([('period', <horizon.forms.fields.ThemableChoiceField object at 0x7a7ca90>), ('date_from', <django.forms.fields.DateField object at 0x7a7cd50>), ('date_to', <django.forms.fields.DateField object at 0x80d2310>)])
-
clean_date_from()[source]
-
clean_date_to()[source]
-
declared_fields = OrderedDict([('period', <horizon.forms.fields.ThemableChoiceField object at 0x7a7ca90>), ('date_from', <django.forms.fields.DateField object at 0x7a7cd50>), ('date_to', <django.forms.fields.DateField object at 0x80d2310>)])
-
handle(request, data)[source]
-
media