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 0x2b2ef6e88650>), ('1', <django.utils.functional.__proxy__ object at 0x2b2ef6e88ad0>), ('7', <django.utils.functional.__proxy__ object at 0x2b2ef6e882d0>), ('8', <django.utils.functional.__proxy__ object at 0x2b2ef6e880d0>), ('15', <django.utils.functional.__proxy__ object at 0x2b2ef6e88090>), ('30', <django.utils.functional.__proxy__ object at 0x2b2ef6e88410>), ('365', <django.utils.functional.__proxy__ object at 0x2b2ef85baf90>), ('other', <django.utils.functional.__proxy__ object at 0x2b2ef85bad90>))
-
base_fields
= OrderedDict([('period', <django.forms.fields.ChoiceField object at 0x2b2ef85ba590>), ('date_from', <django.forms.fields.DateField object at 0x2b2ef71cb9d0>), ('date_to', <django.forms.fields.DateField object at 0x2b2ef71cbc10>)])
-
clean_date_from
()[source]
-
clean_date_to
()[source]
-
declared_fields
= OrderedDict([('period', <django.forms.fields.ChoiceField object at 0x2b2ef85ba590>), ('date_from', <django.forms.fields.DateField object at 0x2b2ef71cb9d0>), ('date_to', <django.forms.fields.DateField object at 0x2b2ef71cbc10>)])
-
handle
(request, data)[source]
-
media
-