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 0x2b15fdb81c90>), ('1', <django.utils.functional.__proxy__ object at 0x2b15fdb81d10>), ('7', <django.utils.functional.__proxy__ object at 0x2b15fdb81d50>), ('4', <django.utils.functional.__proxy__ object at 0x2b15fdb81d90>), ('15', <django.utils.functional.__proxy__ object at 0x2b15fdb81dd0>), ('30', <django.utils.functional.__proxy__ object at 0x2b15fdb81e10>), ('365', <django.utils.functional.__proxy__ object at 0x2b15fdb81e50>), ('other', <django.utils.functional.__proxy__ object at 0x2b15fdb81e90>))
base_fields = OrderedDict([('period', <django.forms.fields.ChoiceField object at 0x2b15fdb81f10>), ('date_from', <django.forms.fields.DateField object at 0x2b15fdbc5050>), ('date_to', <django.forms.fields.DateField object at 0x2b15fdbc5110>)])
clean_date_from()[source]
clean_date_to()[source]
declared_fields = OrderedDict([('period', <django.forms.fields.ChoiceField object at 0x2b15fdb81f10>), ('date_from', <django.forms.fields.DateField object at 0x2b15fdbc5050>), ('date_to', <django.forms.fields.DateField object at 0x2b15fdbc5110>)])
handle(request, data)[source]
media