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 0x7f19952252d0>), ('7', <django.utils.functional.__proxy__ object at 0x7f19956201d0>), ('28', <django.utils.functional.__proxy__ object at 0x7f19955c7ed0>), ('15', <django.utils.functional.__proxy__ object at 0x7f19955c7390>), ('30', <django.utils.functional.__proxy__ object at 0x7f19955c7290>), ('365', <django.utils.functional.__proxy__ object at 0x7f19955c75d0>), ('other', <django.utils.functional.__proxy__ object at 0x7f19955c71d0>))
-
base_fields= OrderedDict([('period', <horizon.forms.fields.ThemableChoiceField object at 0x7f19951dcf90>), ('date_from', <django.forms.fields.DateField object at 0x7f19951dc750>), ('date_to', <django.forms.fields.DateField object at 0x7f19951dc710>)])
-
clean_date_from()[source]
-
clean_date_to()[source]
-
declared_fields= OrderedDict([('period', <horizon.forms.fields.ThemableChoiceField object at 0x7f19951dcf90>), ('date_from', <django.forms.fields.DateField object at 0x7f19951dc750>), ('date_to', <django.forms.fields.DateField object at 0x7f19951dc710>)])
-
handle(request, data)[source]
-
media
-