Bases: horizon.forms.base.SelfHandlingForm
-
PERIOD_CHOICES = (('1', <django.utils.functional.__proxy__ object at 0x8f0ded0>), ('7', <django.utils.functional.__proxy__ object at 0x8f0d950>), ('13', <django.utils.functional.__proxy__ object at 0x8f0df90>), ('15', <django.utils.functional.__proxy__ object at 0x8f0ddd0>), ('30', <django.utils.functional.__proxy__ object at 0x8f0d350>), ('365', <django.utils.functional.__proxy__ object at 0x8f0d610>), ('other', <django.utils.functional.__proxy__ object at 0x8f0d0d0>))
-
base_fields = OrderedDict([('period', <django.forms.fields.ChoiceField object at 0x8f0dc10>), ('date_from', <django.forms.fields.DateField object at 0x8f0d210>), ('date_to', <django.forms.fields.DateField object at 0x7bbbcd0>)])
-
clean_date_from()[source]
-
clean_date_to()[source]
-
declared_fields = OrderedDict([('period', <django.forms.fields.ChoiceField object at 0x8f0dc10>), ('date_from', <django.forms.fields.DateField object at 0x8f0d210>), ('date_to', <django.forms.fields.DateField object at 0x7bbbcd0>)])
-
handle(request, data)[source]
-
media