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 0x7fe5faca5e90>), ('7', <django.utils.functional.__proxy__ object at 0x7fe5fa93ccd0>), ('4', <django.utils.functional.__proxy__ object at 0x7fe5fa93cc50>), ('15', <django.utils.functional.__proxy__ object at 0x7fe5fa93c850>), ('30', <django.utils.functional.__proxy__ object at 0x7fe5fa93cd90>), ('365', <django.utils.functional.__proxy__ object at 0x7fe5fa93cf90>), ('other', <django.utils.functional.__proxy__ object at 0x7fe5fa93cb50>))
base_fields = OrderedDict([('period', <horizon.forms.fields.ThemableChoiceField object at 0x7fe5fa93cf50>), ('date_from', <django.forms.fields.DateField object at 0x7fe5fa93c090>), ('date_to', <django.forms.fields.DateField object at 0x7fe5f9c42850>)])
clean_date_from()[source]
clean_date_to()[source]
declared_fields = OrderedDict([('period', <horizon.forms.fields.ThemableChoiceField object at 0x7fe5fa93cf50>), ('date_from', <django.forms.fields.DateField object at 0x7fe5fa93c090>), ('date_to', <django.forms.fields.DateField object at 0x7fe5f9c42850>)])
handle(request, data)[source]
media