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
= (('1h', <django.utils.functional.__proxy__ object at 0x2b815488d550>), ('1', <django.utils.functional.__proxy__ object at 0x2b815488dfd0>), ('7', <django.utils.functional.__proxy__ object at 0x2b815488d1d0>), ('15', <django.utils.functional.__proxy__ object at 0x2b815488dd90>), ('15', <django.utils.functional.__proxy__ object at 0x2b815488db10>), ('30', <django.utils.functional.__proxy__ object at 0x2b815488d6d0>), ('365', <django.utils.functional.__proxy__ object at 0x2b815488ded0>), ('other', <django.utils.functional.__proxy__ object at 0x2b815488d610>))
-
base_fields
= OrderedDict([('period', <django.forms.fields.ChoiceField object at 0x2b815488d950>), ('date_from', <django.forms.fields.DateField object at 0x2b8154863cd0>), ('date_to', <django.forms.fields.DateField object at 0x2b8154863650>)])
-
clean_date_from
()[source]
-
clean_date_to
()[source]
-
declared_fields
= OrderedDict([('period', <django.forms.fields.ChoiceField object at 0x2b815488d950>), ('date_from', <django.forms.fields.DateField object at 0x2b8154863cd0>), ('date_to', <django.forms.fields.DateField object at 0x2b8154863650>)])
-
handle
(request, data)[source]
-
media
-