Bases: horizon.forms.base.SelfHandlingForm
-
PERIOD_CHOICES = (('1', <django.utils.functional.__proxy__ object at 0xa0d0f90>), ('7', <django.utils.functional.__proxy__ object at 0xa0d08d0>), ('2', <django.utils.functional.__proxy__ object at 0xa0d0a50>), ('15', <django.utils.functional.__proxy__ object at 0xa8b3a50>), ('30', <django.utils.functional.__proxy__ object at 0xa8b3350>), ('365', <django.utils.functional.__proxy__ object at 0xa8b3d90>), ('other', <django.utils.functional.__proxy__ object at 0xa8b3290>))
-
base_fields = OrderedDict([('period', <horizon.forms.fields.ThemableChoiceField object at 0xa8b3710>), ('date_from', <django.forms.fields.DateField object at 0xa8b3150>), ('date_to', <django.forms.fields.DateField object at 0xa8b3cd0>)])
-
clean_date_from()[source]
-
clean_date_to()[source]
-
declared_fields = OrderedDict([('period', <horizon.forms.fields.ThemableChoiceField object at 0xa8b3710>), ('date_from', <django.forms.fields.DateField object at 0xa8b3150>), ('date_to', <django.forms.fields.DateField object at 0xa8b3cd0>)])
-
handle(request, data)[source]
-
media