Bases: horizon.forms.base.SelfHandlingForm
-
UsageReportForm.PERIOD_CHOICES = (('1', <django.utils.functional.__proxy__ object at 0x79c6110>), ('7', <django.utils.functional.__proxy__ object at 0x79c61d0>), ('21', <django.utils.functional.__proxy__ object at 0x79c6910>), ('15', <django.utils.functional.__proxy__ object at 0x79c6050>), ('30', <django.utils.functional.__proxy__ object at 0x79c60d0>), ('365', <django.utils.functional.__proxy__ object at 0x79c62d0>), ('other', <django.utils.functional.__proxy__ object at 0x79c65d0>))
-
UsageReportForm.base_fields = OrderedDict([('period', <django.forms.fields.ChoiceField object at 0x79c63d0>), ('date_from', <django.forms.fields.DateField object at 0x79c6150>), ('date_to', <django.forms.fields.DateField object at 0x79c6410>)])
-
UsageReportForm.clean_date_from()[source]
-
UsageReportForm.clean_date_to()[source]
-
UsageReportForm.declared_fields = OrderedDict([('period', <django.forms.fields.ChoiceField object at 0x79c63d0>), ('date_from', <django.forms.fields.DateField object at 0x79c6150>), ('date_to', <django.forms.fields.DateField object at 0x79c6410>)])
-
UsageReportForm.handle(request, data)[source]
-
UsageReportForm.media