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 0xb9f1210>), ('7', <django.utils.functional.__proxy__ object at 0xb9f1110>), ('13', <django.utils.functional.__proxy__ object at 0xb9e6fd0>), ('15', <django.utils.functional.__proxy__ object at 0xb9e6e10>), ('30', <django.utils.functional.__proxy__ object at 0xb9e6d90>), ('365', <django.utils.functional.__proxy__ object at 0xb9e6bd0>), ('other', <django.utils.functional.__proxy__ object at 0xb9e6d50>))
base_fields = OrderedDict([('period', <horizon.forms.fields.ThemableChoiceField object at 0xb9e6c90>), ('date_from', <django.forms.fields.DateField object at 0xb9e6890>), ('date_to', <django.forms.fields.DateField object at 0xb9e6910>)])
clean_date_from()[source]
clean_date_to()[source]
declared_fields = OrderedDict([('period', <horizon.forms.fields.ThemableChoiceField object at 0xb9e6c90>), ('date_from', <django.forms.fields.DateField object at 0xb9e6890>), ('date_to', <django.forms.fields.DateField object at 0xb9e6910>)])
handle(request, data)[source]
media