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 0x7fc795f7af10>), ('7', <django.utils.functional.__proxy__ object at 0x7fc795f7ad10>), ('29', <django.utils.functional.__proxy__ object at 0x7fc795ba8e10>), ('15', <django.utils.functional.__proxy__ object at 0x7fc795ba87d0>), ('30', <django.utils.functional.__proxy__ object at 0x7fc795ba8810>), ('365', <django.utils.functional.__proxy__ object at 0x7fc795ba8f50>), ('other', <django.utils.functional.__proxy__ object at 0x7fc795ba8910>))
-
base_fields
= OrderedDict([('period', <django.forms.fields.ChoiceField object at 0x7fc795ba8bd0>), ('date_from', <django.forms.fields.DateField object at 0x7fc795ba8b90>), ('date_to', <django.forms.fields.DateField object at 0x7fc795ba8410>)])
-
clean_date_from
()[source]
-
clean_date_to
()[source]
-
declared_fields
= OrderedDict([('period', <django.forms.fields.ChoiceField object at 0x7fc795ba8bd0>), ('date_from', <django.forms.fields.DateField object at 0x7fc795ba8b90>), ('date_to', <django.forms.fields.DateField object at 0x7fc795ba8410>)])
-
handle
(request, data)[source]
-
media
-