The openstack_dashboard.dashboards.admin.metering.forms
ModuleΒΆ
-
class
openstack_dashboard.dashboards.admin.metering.forms.
UsageReportForm
(request, *args, **kwargs)[source] Bases:
horizon.forms.base.SelfHandlingForm
-
PERIOD_CHOICES
= (('1', <django.utils.functional.__proxy__ object at 0x7f92e01bad90>), ('7', <django.utils.functional.__proxy__ object at 0x7f92e01bad50>), ('21', <django.utils.functional.__proxy__ object at 0x7f92e01bad10>), ('15', <django.utils.functional.__proxy__ object at 0x7f92e01bac90>), ('30', <django.utils.functional.__proxy__ object at 0x7f92e01ba690>), ('365', <django.utils.functional.__proxy__ object at 0x7f92e01ba890>), ('other', <django.utils.functional.__proxy__ object at 0x7f92e01bacd0>))
-
base_fields
= OrderedDict([('period', <django.forms.fields.ChoiceField object at 0x7f92e01ba290>), ('date_from', <django.forms.fields.DateField object at 0x7f92e00163d0>), ('date_to', <django.forms.fields.DateField object at 0x7f92e0016190>)])
-
clean_date_from
()[source]
-
clean_date_to
()[source]
-
declared_fields
= OrderedDict([('period', <django.forms.fields.ChoiceField object at 0x7f92e01ba290>), ('date_from', <django.forms.fields.DateField object at 0x7f92e00163d0>), ('date_to', <django.forms.fields.DateField object at 0x7f92e0016190>)])
-
handle
(request, data)[source]
-
media
-