Bases: horizon.forms.base.SelfHandlingForm
-
PERIOD_CHOICES = (('1', <django.utils.functional.__proxy__ object at 0xb1ff710>), ('7', <django.utils.functional.__proxy__ object at 0xb1ffa10>), ('21', <django.utils.functional.__proxy__ object at 0xb1ffed0>), ('15', <django.utils.functional.__proxy__ object at 0xb1ff910>), ('30', <django.utils.functional.__proxy__ object at 0xb1f6050>), ('365', <django.utils.functional.__proxy__ object at 0xb1f6210>), ('other', <django.utils.functional.__proxy__ object at 0xb1f61d0>))
-
base_fields = OrderedDict([('period', <horizon.forms.fields.ThemableChoiceField object at 0xb1f6610>), ('date_from', <django.forms.fields.DateField object at 0xb1f6290>), ('date_to', <django.forms.fields.DateField object at 0xb1f63d0>)])
-
clean_date_from()[source]
-
clean_date_to()[source]
-
declared_fields = OrderedDict([('period', <horizon.forms.fields.ThemableChoiceField object at 0xb1f6610>), ('date_from', <django.forms.fields.DateField object at 0xb1f6290>), ('date_to', <django.forms.fields.DateField object at 0xb1f63d0>)])
-
handle(request, data)[source]
-
media