Bases: horizon.forms.base.SelfHandlingForm
-
PERIOD_CHOICES = (('1', <django.utils.functional.__proxy__ object at 0xa4cf510>), ('7', <django.utils.functional.__proxy__ object at 0xa4cf550>), ('16', <django.utils.functional.__proxy__ object at 0xa4cff50>), ('15', <django.utils.functional.__proxy__ object at 0xa4cf490>), ('30', <django.utils.functional.__proxy__ object at 0xa4cf9d0>), ('365', <django.utils.functional.__proxy__ object at 0xa4cfa90>), ('other', <django.utils.functional.__proxy__ object at 0xa4cf7d0>))
-
base_fields = OrderedDict([('period', <horizon.forms.fields.ThemableChoiceField object at 0xa4cf4d0>), ('date_from', <django.forms.fields.DateField object at 0xa4cf110>), ('date_to', <django.forms.fields.DateField object at 0xa4cf350>)])
-
clean_date_from()[source]
-
clean_date_to()[source]
-
declared_fields = OrderedDict([('period', <horizon.forms.fields.ThemableChoiceField object at 0xa4cf4d0>), ('date_from', <django.forms.fields.DateField object at 0xa4cf110>), ('date_to', <django.forms.fields.DateField object at 0xa4cf350>)])
-
handle(request, data)[source]
-
media