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 0x7fec289de190>), ('7', <django.utils.functional.__proxy__ object at 0x7fec289de6d0>), ('21', <django.utils.functional.__proxy__ object at 0x7fec289de390>), ('15', <django.utils.functional.__proxy__ object at 0x7fec289deed0>), ('30', <django.utils.functional.__proxy__ object at 0x7fec289ded10>), ('365', <django.utils.functional.__proxy__ object at 0x7fec289de850>), ('other', <django.utils.functional.__proxy__ object at 0x7fec289de3d0>))
base_fields = OrderedDict([('period', <horizon.forms.fields.ThemableChoiceField object at 0x7fec289de9d0>), ('date_from', <django.forms.fields.DateField object at 0x7fec284ec850>), ('date_to', <django.forms.fields.DateField object at 0x7fec284ec490>)])
clean_date_from()[source]
clean_date_to()[source]
declared_fields = OrderedDict([('period', <horizon.forms.fields.ThemableChoiceField object at 0x7fec289de9d0>), ('date_from', <django.forms.fields.DateField object at 0x7fec284ec850>), ('date_to', <django.forms.fields.DateField object at 0x7fec284ec490>)])
handle(request, data)[source]
media

Previous topic

The openstack_dashboard.dashboards.admin.metering.urls Module

Next topic

The openstack_dashboard.dashboards.admin.metering.tables Module

Project Source

This Page