Bases: horizon.forms.base.SelfHandlingForm
-
PERIOD_CHOICES = (('1', <django.utils.functional.__proxy__ object at 0x7faf85c73410>), ('7', <django.utils.functional.__proxy__ object at 0x7faf85c734d0>), ('7', <django.utils.functional.__proxy__ object at 0x7faf85c73f10>), ('15', <django.utils.functional.__proxy__ object at 0x7faf85c73e90>), ('30', <django.utils.functional.__proxy__ object at 0x7faf85c73d10>), ('365', <django.utils.functional.__proxy__ object at 0x7faf85c73b10>), ('other', <django.utils.functional.__proxy__ object at 0x7faf85c73c50>))
-
base_fields = OrderedDict([('period', <django.forms.fields.ChoiceField object at 0x7faf85c73e50>), ('date_from', <django.forms.fields.DateField object at 0x7faf871cf0d0>), ('date_to', <django.forms.fields.DateField object at 0x7faf871cf090>)])
-
clean_date_from()[source]
-
clean_date_to()[source]
-
declared_fields = OrderedDict([('period', <django.forms.fields.ChoiceField object at 0x7faf85c73e50>), ('date_from', <django.forms.fields.DateField object at 0x7faf871cf0d0>), ('date_to', <django.forms.fields.DateField object at 0x7faf871cf090>)])
-
handle(request, data)[source]
-
media