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 0x7f389f457fd0>), ('7', <django.utils.functional.__proxy__ object at 0x7f389f457e90>), ('13', <django.utils.functional.__proxy__ object at 0x7f389f457b50>), ('15', <django.utils.functional.__proxy__ object at 0x7f389f457c50>), ('30', <django.utils.functional.__proxy__ object at 0x7f389f4575d0>), ('365', <django.utils.functional.__proxy__ object at 0x7f389f457e10>), ('other', <django.utils.functional.__proxy__ object at 0x7f389f457d90>))
base_fields = OrderedDict([('period', <django.forms.fields.ChoiceField object at 0x7f389f457f90>), ('date_from', <django.forms.fields.DateField object at 0x7f38a022d650>), ('date_to', <django.forms.fields.DateField object at 0x7f38a022da10>)])
clean_date_from()[source]
clean_date_to()[source]
declared_fields = OrderedDict([('period', <django.forms.fields.ChoiceField object at 0x7f389f457f90>), ('date_from', <django.forms.fields.DateField object at 0x7f38a022d650>), ('date_to', <django.forms.fields.DateField object at 0x7f38a022da10>)])
handle(request, data)[source]
media