Bases: horizon.forms.base.SelfHandlingForm
-
PERIOD_CHOICES = (('1', <django.utils.functional.__proxy__ object at 0x96e9c90>), ('7', <django.utils.functional.__proxy__ object at 0x96e9890>), ('10', <django.utils.functional.__proxy__ object at 0x96e9090>), ('15', <django.utils.functional.__proxy__ object at 0x92a1e10>), ('30', <django.utils.functional.__proxy__ object at 0x9814a90>), ('365', <django.utils.functional.__proxy__ object at 0x9814b10>), ('other', <django.utils.functional.__proxy__ object at 0x98148d0>))
-
base_fields = OrderedDict([('period', <django.forms.fields.ChoiceField object at 0x9814090>), ('date_from', <django.forms.fields.DateField object at 0x9814810>), ('date_to', <django.forms.fields.DateField object at 0x9814710>)])
-
clean_date_from()[source]
-
clean_date_to()[source]
-
declared_fields = OrderedDict([('period', <django.forms.fields.ChoiceField object at 0x9814090>), ('date_from', <django.forms.fields.DateField object at 0x9814810>), ('date_to', <django.forms.fields.DateField object at 0x9814710>)])
-
handle(request, data)[source]
-
media