Bases: horizon.forms.base.SelfHandlingForm
-
UsageReportForm.PERIOD_CHOICES = (('1', <django.utils.functional.__proxy__ object at 0xae4ca50>), ('7', <django.utils.functional.__proxy__ object at 0xae4c210>), ('12', <django.utils.functional.__proxy__ object at 0xae4c1d0>), ('15', <django.utils.functional.__proxy__ object at 0xae4c250>), ('30', <django.utils.functional.__proxy__ object at 0xae4c290>), ('365', <django.utils.functional.__proxy__ object at 0xae4c110>), ('other', <django.utils.functional.__proxy__ object at 0xae4ce90>))
-
UsageReportForm.base_fields = OrderedDict([('period', <django.forms.fields.ChoiceField object at 0xae4c410>), ('date_from', <django.forms.fields.DateField object at 0xae4c610>), ('date_to', <django.forms.fields.DateField object at 0xae4c810>)])
-
UsageReportForm.clean_date_from()[source]
-
UsageReportForm.clean_date_to()[source]
-
UsageReportForm.declared_fields = OrderedDict([('period', <django.forms.fields.ChoiceField object at 0xae4c410>), ('date_from', <django.forms.fields.DateField object at 0xae4c610>), ('date_to', <django.forms.fields.DateField object at 0xae4c810>)])
-
UsageReportForm.handle(request, data)[source]
-
UsageReportForm.media