Bases: horizon.forms.base.SelfHandlingForm
-
UsageReportForm.PERIOD_CHOICES = (('1', <django.utils.functional.__proxy__ object at 0x7a51a10>), ('7', <django.utils.functional.__proxy__ object at 0x7a51e90>), ('21', <django.utils.functional.__proxy__ object at 0x7a51490>), ('15', <django.utils.functional.__proxy__ object at 0x7a51c10>), ('30', <django.utils.functional.__proxy__ object at 0x7a515d0>), ('365', <django.utils.functional.__proxy__ object at 0x7a51c50>), ('other', <django.utils.functional.__proxy__ object at 0x7a51050>))
-
UsageReportForm.base_fields = OrderedDict([('period', <django.forms.fields.ChoiceField object at 0x6910f90>), ('date_from', <django.forms.fields.DateField object at 0x71ece10>), ('date_to', <django.forms.fields.DateField object at 0x71ec050>)])
-
UsageReportForm.clean_date_from()[source]
-
UsageReportForm.clean_date_to()[source]
-
UsageReportForm.declared_fields = OrderedDict([('period', <django.forms.fields.ChoiceField object at 0x6910f90>), ('date_from', <django.forms.fields.DateField object at 0x71ece10>), ('date_to', <django.forms.fields.DateField object at 0x71ec050>)])
-
UsageReportForm.handle(request, data)[source]
-
UsageReportForm.media