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 0x2b6d3bd51490>), ('1', <django.utils.functional.__proxy__ object at 0x2b6d3bd513d0>), ('7', <django.utils.functional.__proxy__ object at 0x2b6d3bd51e10>), ('9', <django.utils.functional.__proxy__ object at 0x2b6d3bd51350>), ('15', <django.utils.functional.__proxy__ object at 0x2b6d3bd51f10>), ('30', <django.utils.functional.__proxy__ object at 0x2b6d3bd51b50>), ('365', <django.utils.functional.__proxy__ object at 0x2b6d3bd519d0>), ('other', <django.utils.functional.__proxy__ object at 0x2b6d3bd51b10>))
base_fields = OrderedDict([('period', <django.forms.fields.ChoiceField object at 0x2b6d3bd51a50>), ('date_from', <django.forms.fields.DateField object at 0x2b6d3bd51d10>), ('date_to', <django.forms.fields.DateField object at 0x2b6d3bd51c90>)])
clean_date_from()[source]
clean_date_to()[source]
declared_fields = OrderedDict([('period', <django.forms.fields.ChoiceField object at 0x2b6d3bd51a50>), ('date_from', <django.forms.fields.DateField object at 0x2b6d3bd51d10>), ('date_to', <django.forms.fields.DateField object at 0x2b6d3bd51c90>)])
handle(request, data)[source]
media