Bases: horizon.forms.base.SelfHandlingForm
-
UsageReportForm.PERIOD_CHOICES = (('1', <django.utils.functional.__proxy__ object at 0xc33fa10>), ('7', <django.utils.functional.__proxy__ object at 0xc33fa50>), ('15', <django.utils.functional.__proxy__ object at 0xc33fa90>), ('15', <django.utils.functional.__proxy__ object at 0xc33fad0>), ('30', <django.utils.functional.__proxy__ object at 0xc33fb10>), ('365', <django.utils.functional.__proxy__ object at 0xc33fb50>), ('other', <django.utils.functional.__proxy__ object at 0xc33fb90>))
-
UsageReportForm.base_fields = OrderedDict([('period', <django.forms.fields.ChoiceField object at 0xc33fc10>), ('date_from', <django.forms.fields.DateField object at 0xc33fd10>), ('date_to', <django.forms.fields.DateField object at 0xc33fdd0>)])
-
UsageReportForm.clean_date_from()[source]
-
UsageReportForm.clean_date_to()[source]
-
UsageReportForm.declared_fields = OrderedDict([('period', <django.forms.fields.ChoiceField object at 0xc33fc10>), ('date_from', <django.forms.fields.DateField object at 0xc33fd10>), ('date_to', <django.forms.fields.DateField object at 0xc33fdd0>)])
-
UsageReportForm.handle(request, data)[source]
-
UsageReportForm.media