Bases: horizon.forms.base.SelfHandlingForm
-
PERIOD_CHOICES = (('1', <django.utils.functional.__proxy__ object at 0xa189850>), ('7', <django.utils.functional.__proxy__ object at 0xa189410>), ('21', <django.utils.functional.__proxy__ object at 0xa189090>), ('15', <django.utils.functional.__proxy__ object at 0xa189890>), ('30', <django.utils.functional.__proxy__ object at 0xa1891d0>), ('365', <django.utils.functional.__proxy__ object at 0xa1893d0>), ('other', <django.utils.functional.__proxy__ object at 0xa189910>))
-
base_fields = OrderedDict([('period', <django.forms.fields.ChoiceField object at 0xa189190>), ('date_from', <django.forms.fields.DateField object at 0xa19a050>), ('date_to', <django.forms.fields.DateField object at 0xa18ccd0>)])
-
clean_date_from()[source]
-
clean_date_to()[source]
-
declared_fields = OrderedDict([('period', <django.forms.fields.ChoiceField object at 0xa189190>), ('date_from', <django.forms.fields.DateField object at 0xa19a050>), ('date_to', <django.forms.fields.DateField object at 0xa18ccd0>)])
-
handle(request, data)[source]
-
media