Bases: horizon.forms.base.SelfHandlingForm
-
PERIOD_CHOICES = (('1h', <django.utils.functional.__proxy__ object at 0xa455d90>), ('1', <django.utils.functional.__proxy__ object at 0xa0fb150>), ('7', <django.utils.functional.__proxy__ object at 0xa0fbed0>), ('2', <django.utils.functional.__proxy__ object at 0xa0fb7d0>), ('15', <django.utils.functional.__proxy__ object at 0xa0fb110>), ('30', <django.utils.functional.__proxy__ object at 0xa0fbe10>), ('365', <django.utils.functional.__proxy__ object at 0xa0fb390>), ('other', <django.utils.functional.__proxy__ object at 0xa0fb250>))
-
base_fields = OrderedDict([('period', <django.forms.fields.ChoiceField object at 0xa0fbbd0>), ('date_from', <django.forms.fields.DateField object at 0xa0fb750>), ('date_to', <django.forms.fields.DateField object at 0xa0fb490>)])
-
clean_date_from()[source]
-
clean_date_to()[source]
-
declared_fields = OrderedDict([('period', <django.forms.fields.ChoiceField object at 0xa0fbbd0>), ('date_from', <django.forms.fields.DateField object at 0xa0fb750>), ('date_to', <django.forms.fields.DateField object at 0xa0fb490>)])
-
handle(request, data)[source]
-
media