Bases: horizon.forms.base.SelfHandlingForm
-
PERIOD_CHOICES = (('1', <django.utils.functional.__proxy__ object at 0x7fd5d03c8210>), ('7', <django.utils.functional.__proxy__ object at 0x7fd5d03c8fd0>), ('18', <django.utils.functional.__proxy__ object at 0x7fd5d03c86d0>), ('15', <django.utils.functional.__proxy__ object at 0x7fd5d03c81d0>), ('30', <django.utils.functional.__proxy__ object at 0x7fd5d03c8750>), ('365', <django.utils.functional.__proxy__ object at 0x7fd5d03c85d0>), ('other', <django.utils.functional.__proxy__ object at 0x7fd5d03c8110>))
-
base_fields = OrderedDict([('period', <django.forms.fields.ChoiceField object at 0x7fd5ce68b950>), ('date_from', <django.forms.fields.DateField object at 0x7fd5ce68b350>), ('date_to', <django.forms.fields.DateField object at 0x7fd5ce68b0d0>)])
-
clean_date_from()[source]
-
clean_date_to()[source]
-
declared_fields = OrderedDict([('period', <django.forms.fields.ChoiceField object at 0x7fd5ce68b950>), ('date_from', <django.forms.fields.DateField object at 0x7fd5ce68b350>), ('date_to', <django.forms.fields.DateField object at 0x7fd5ce68b0d0>)])
-
handle(request, data)[source]
-
media