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 0x7f5f1108ca10>), ('7', <django.utils.functional.__proxy__ object at 0x7f5f1108cb10>), ('14', <django.utils.functional.__proxy__ object at 0x7f5f1108c910>), ('15', <django.utils.functional.__proxy__ object at 0x7f5f1108c750>), ('30', <django.utils.functional.__proxy__ object at 0x7f5f114abd90>), ('365', <django.utils.functional.__proxy__ object at 0x7f5f114ab390>), ('other', <django.utils.functional.__proxy__ object at 0x7f5f114ab310>))
-
base_fields
= OrderedDict([('period', <horizon.forms.fields.ThemableChoiceField object at 0x7f5f1346c090>), ('date_from', <django.forms.fields.DateField object at 0x7f5f112c7250>), ('date_to', <django.forms.fields.DateField object at 0x7f5f1102c650>)])
-
clean_date_from
()[source]
-
clean_date_to
()[source]
-
declared_fields
= OrderedDict([('period', <horizon.forms.fields.ThemableChoiceField object at 0x7f5f1346c090>), ('date_from', <django.forms.fields.DateField object at 0x7f5f112c7250>), ('date_to', <django.forms.fields.DateField object at 0x7f5f1102c650>)])
-
handle
(request, data)[source]
-
media
-