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 0x7f4c453a1d90>), ('7', <django.utils.functional.__proxy__ object at 0x7f4c453a1810>), ('13', <django.utils.functional.__proxy__ object at 0x7f4c453a1890>), ('15', <django.utils.functional.__proxy__ object at 0x7f4c453a17d0>), ('30', <django.utils.functional.__proxy__ object at 0x7f4c453a1250>), ('365', <django.utils.functional.__proxy__ object at 0x7f4c453a18d0>), ('other', <django.utils.functional.__proxy__ object at 0x7f4c453a1fd0>))
base_fields = OrderedDict([('period', <django.forms.fields.ChoiceField object at 0x7f4c453a1e50>), ('date_from', <django.forms.fields.DateField object at 0x7f4c453a1e90>), ('date_to', <django.forms.fields.DateField object at 0x7f4c461eb690>)])
clean_date_from()[source]
clean_date_to()[source]
declared_fields = OrderedDict([('period', <django.forms.fields.ChoiceField object at 0x7f4c453a1e50>), ('date_from', <django.forms.fields.DateField object at 0x7f4c453a1e90>), ('date_to', <django.forms.fields.DateField object at 0x7f4c461eb690>)])
handle(request, data)[source]
media