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 = (('1h', <django.utils.functional.__proxy__ object at 0x2ab0fe37f7d0>), ('1', <django.utils.functional.__proxy__ object at 0x2ab0fe37f6d0>), ('7', <django.utils.functional.__proxy__ object at 0x2ab0fe37f110>), ('16', <django.utils.functional.__proxy__ object at 0x2ab0fe37fd10>), ('15', <django.utils.functional.__proxy__ object at 0x2ab0fe37fcd0>), ('30', <django.utils.functional.__proxy__ object at 0x2ab0fe37fc90>), ('365', <django.utils.functional.__proxy__ object at 0x2ab0fe37f650>), ('other', <django.utils.functional.__proxy__ object at 0x2ab0fe37f790>))
base_fields = OrderedDict([('period', <django.forms.fields.ChoiceField object at 0x2ab0fe37ff10>), ('date_from', <django.forms.fields.DateField object at 0x2ab0fe37f950>), ('date_to', <django.forms.fields.DateField object at 0x2ab0fd50e0d0>)])
clean_date_from()[source]
clean_date_to()[source]
declared_fields = OrderedDict([('period', <django.forms.fields.ChoiceField object at 0x2ab0fe37ff10>), ('date_from', <django.forms.fields.DateField object at 0x2ab0fe37f950>), ('date_to', <django.forms.fields.DateField object at 0x2ab0fd50e0d0>)])
handle(request, data)[source]
media