Bases: horizon.forms.base.SelfHandlingForm
-
PERIOD_CHOICES = (('1', <django.utils.functional.__proxy__ object at 0x8dbb210>), ('7', <django.utils.functional.__proxy__ object at 0x8dbb490>), ('11', <django.utils.functional.__proxy__ object at 0x8dbba50>), ('15', <django.utils.functional.__proxy__ object at 0x8dbb290>), ('30', <django.utils.functional.__proxy__ object at 0x8dbbe10>), ('365', <django.utils.functional.__proxy__ object at 0x8dbb3d0>), ('other', <django.utils.functional.__proxy__ object at 0x8dbbdd0>))
-
base_fields = OrderedDict([('period', <django.forms.fields.ChoiceField object at 0x8dbb250>), ('date_from', <django.forms.fields.DateField object at 0x8dbb1d0>), ('date_to', <django.forms.fields.DateField object at 0x8dbbc50>)])
-
clean_date_from()[source]
-
clean_date_to()[source]
-
declared_fields = OrderedDict([('period', <django.forms.fields.ChoiceField object at 0x8dbb250>), ('date_from', <django.forms.fields.DateField object at 0x8dbb1d0>), ('date_to', <django.forms.fields.DateField object at 0x8dbbc50>)])
-
handle(request, data)[source]
-
media