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 0x7fd13cbfce50>), ('7', <django.utils.functional.__proxy__ object at 0x7fd13cbfced0>), ('17', <django.utils.functional.__proxy__ object at 0x7fd13cbfcfd0>), ('15', <django.utils.functional.__proxy__ object at 0x7fd13cbfcf90>), ('30', <django.utils.functional.__proxy__ object at 0x7fd13cbfcc90>), ('365', <django.utils.functional.__proxy__ object at 0x7fd13cbfcc10>), ('other', <django.utils.functional.__proxy__ object at 0x7fd13cbfcf50>))
base_fields = OrderedDict([('period', <horizon.forms.fields.ThemableChoiceField object at 0x7fd13cbfcbd0>), ('date_from', <django.forms.fields.DateField object at 0x7fd13cbfca10>), ('date_to', <django.forms.fields.DateField object at 0x7fd13cbfc690>)])
clean_date_from()[source]
clean_date_to()[source]
declared_fields = OrderedDict([('period', <horizon.forms.fields.ThemableChoiceField object at 0x7fd13cbfcbd0>), ('date_from', <django.forms.fields.DateField object at 0x7fd13cbfca10>), ('date_to', <django.forms.fields.DateField object at 0x7fd13cbfc690>)])
handle(request, data)[source]
media