Bases: horizon.forms.base.SelfHandlingForm
-
PERIOD_CHOICES = (('1', <django.utils.functional.__proxy__ object at 0xb376b50>), ('7', <django.utils.functional.__proxy__ object at 0xb376cd0>), ('6', <django.utils.functional.__proxy__ object at 0xb376f90>), ('15', <django.utils.functional.__proxy__ object at 0xb3761d0>), ('30', <django.utils.functional.__proxy__ object at 0xb376d90>), ('365', <django.utils.functional.__proxy__ object at 0xb376a10>), ('other', <django.utils.functional.__proxy__ object at 0xb376550>))
-
base_fields = OrderedDict([('period', <horizon.forms.fields.ThemableChoiceField object at 0xb3769d0>), ('date_from', <django.forms.fields.DateField object at 0xb0cc210>), ('date_to', <django.forms.fields.DateField object at 0xb0cc110>)])
-
clean_date_from()[source]
-
clean_date_to()[source]
-
declared_fields = OrderedDict([('period', <horizon.forms.fields.ThemableChoiceField object at 0xb3769d0>), ('date_from', <django.forms.fields.DateField object at 0xb0cc210>), ('date_to', <django.forms.fields.DateField object at 0xb0cc110>)])
-
handle(request, data)[source]
-
media