Bases: horizon.forms.base.SelfHandlingForm
-
PERIOD_CHOICES = (('1', <django.utils.functional.__proxy__ object at 0x9151450>), ('7', <django.utils.functional.__proxy__ object at 0x91518d0>), ('13', <django.utils.functional.__proxy__ object at 0x9151850>), ('15', <django.utils.functional.__proxy__ object at 0x9151410>), ('30', <django.utils.functional.__proxy__ object at 0x9151090>), ('365', <django.utils.functional.__proxy__ object at 0x9151890>), ('other', <django.utils.functional.__proxy__ object at 0x91511d0>))
-
base_fields = OrderedDict([('period', <django.forms.fields.ChoiceField object at 0x9151910>), ('date_from', <django.forms.fields.DateField object at 0x9235090>), ('date_to', <django.forms.fields.DateField object at 0x922ab90>)])
-
clean_date_from()[source]
-
clean_date_to()[source]
-
declared_fields = OrderedDict([('period', <django.forms.fields.ChoiceField object at 0x9151910>), ('date_from', <django.forms.fields.DateField object at 0x9235090>), ('date_to', <django.forms.fields.DateField object at 0x922ab90>)])
-
handle(request, data)[source]
-
media