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 0x7f7b44a41f10>), ('7', <django.utils.functional.__proxy__ object at 0x7f7b44a41e90>), ('19', <django.utils.functional.__proxy__ object at 0x7f7b43f3de10>), ('15', <django.utils.functional.__proxy__ object at 0x7f7b43f3d890>), ('30', <django.utils.functional.__proxy__ object at 0x7f7b44fc1550>), ('365', <django.utils.functional.__proxy__ object at 0x7f7b44fc14d0>), ('other', <django.utils.functional.__proxy__ object at 0x7f7b44fc11d0>))
-
base_fields
= OrderedDict([('period', <horizon.forms.fields.ThemableChoiceField object at 0x7f7b44fc1350>), ('date_from', <django.forms.fields.DateField object at 0x7f7b420dfc50>), ('date_to', <django.forms.fields.DateField object at 0x7f7b420df8d0>)])
-
clean_date_from
()[source]
-
clean_date_to
()[source]
-
declared_fields
= OrderedDict([('period', <horizon.forms.fields.ThemableChoiceField object at 0x7f7b44fc1350>), ('date_from', <django.forms.fields.DateField object at 0x7f7b420dfc50>), ('date_to', <django.forms.fields.DateField object at 0x7f7b420df8d0>)])
-
handle
(request, data)[source]
-
media
-