Bases: horizon.forms.base.SelfHandlingForm
-
PERIOD_CHOICES = (('1', <django.utils.functional.__proxy__ object at 0x8d96150>), ('7', <django.utils.functional.__proxy__ object at 0x8d96a90>), ('30', <django.utils.functional.__proxy__ object at 0x8d96590>), ('15', <django.utils.functional.__proxy__ object at 0x8d969d0>), ('30', <django.utils.functional.__proxy__ object at 0x8d966d0>), ('365', <django.utils.functional.__proxy__ object at 0x8d96d50>), ('other', <django.utils.functional.__proxy__ object at 0x8d96110>))
-
base_fields = OrderedDict([('period', <horizon.forms.fields.ThemableChoiceField object at 0x8d965d0>), ('date_from', <django.forms.fields.DateField object at 0x8d96410>), ('date_to', <django.forms.fields.DateField object at 0x8d963d0>)])
-
clean_date_from()[source]
-
clean_date_to()[source]
-
declared_fields = OrderedDict([('period', <horizon.forms.fields.ThemableChoiceField object at 0x8d965d0>), ('date_from', <django.forms.fields.DateField object at 0x8d96410>), ('date_to', <django.forms.fields.DateField object at 0x8d963d0>)])
-
handle(request, data)[source]
-
media