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 0xc9910ec>), ('7', <django.utils.functional.__proxy__ object at 0xcb68bac>), ('6', <django.utils.functional.__proxy__ object at 0xc9918cc>), ('15', <django.utils.functional.__proxy__ object at 0xc8ae1ec>), ('30', <django.utils.functional.__proxy__ object at 0xca827cc>), ('365', <django.utils.functional.__proxy__ object at 0xc7e898c>), ('other', <django.utils.functional.__proxy__ object at 0xc99102c>))
base_fields = OrderedDict([('period', <django.forms.fields.ChoiceField object at 0xc86096c>), ('date_from', <django.forms.fields.DateField object at 0xc8ae46c>), ('date_to', <django.forms.fields.DateField object at 0xca732cc>)])
clean_date_from()[source]
clean_date_to()[source]
declared_fields = OrderedDict([('period', <django.forms.fields.ChoiceField object at 0xc86096c>), ('date_from', <django.forms.fields.DateField object at 0xc8ae46c>), ('date_to', <django.forms.fields.DateField object at 0xca732cc>)])
handle(request, data)[source]
media