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 0x7ff298822d50>), ('7', <django.utils.functional.__proxy__ object at 0x7ff2980baed0>), ('29', <django.utils.functional.__proxy__ object at 0x7ff298822050>), ('15', <django.utils.functional.__proxy__ object at 0x7ff298822110>), ('30', <django.utils.functional.__proxy__ object at 0x7ff298822c50>), ('365', <django.utils.functional.__proxy__ object at 0x7ff298822590>), ('other', <django.utils.functional.__proxy__ object at 0x7ff298822990>))
-
base_fields= OrderedDict([('period', <horizon.forms.fields.ThemableChoiceField object at 0x7ff29870a350>), ('date_from', <django.forms.fields.DateField object at 0x7ff29870a890>), ('date_to', <django.forms.fields.DateField object at 0x7ff297eb0510>)])
-
clean_date_from()[source]
-
clean_date_to()[source]
-
declared_fields= OrderedDict([('period', <horizon.forms.fields.ThemableChoiceField object at 0x7ff29870a350>), ('date_from', <django.forms.fields.DateField object at 0x7ff29870a890>), ('date_to', <django.forms.fields.DateField object at 0x7ff297eb0510>)])
-
handle(request, data)[source]
-
media
-