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 0x7f4e9bcef950>), ('7', <django.utils.functional.__proxy__ object at 0x7f4e9bcef990>), ('12', <django.utils.functional.__proxy__ object at 0x7f4e9bcef9d0>), ('15', <django.utils.functional.__proxy__ object at 0x7f4e9bcefa10>), ('30', <django.utils.functional.__proxy__ object at 0x7f4e9bcefa50>), ('365', <django.utils.functional.__proxy__ object at 0x7f4e9bcefa90>), ('other', <django.utils.functional.__proxy__ object at 0x7f4e9bcefad0>))
base_fields = OrderedDict([('period', <django.forms.fields.ChoiceField object at 0x7f4e9bcefb50>), ('date_from', <django.forms.fields.DateField object at 0x7f4e9bcefc50>), ('date_to', <django.forms.fields.DateField object at 0x7f4e9bcefd10>)])
clean_date_from()[source]
clean_date_to()[source]
declared_fields = OrderedDict([('period', <django.forms.fields.ChoiceField object at 0x7f4e9bcefb50>), ('date_from', <django.forms.fields.DateField object at 0x7f4e9bcefc50>), ('date_to', <django.forms.fields.DateField object at 0x7f4e9bcefd10>)])
handle(request, data)[source]
media