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 0x7f1f4e30a790>), ('7', <django.utils.functional.__proxy__ object at 0x7f1f4e30ab50>), ('6', <django.utils.functional.__proxy__ object at 0x7f1f4e30a210>), ('15', <django.utils.functional.__proxy__ object at 0x7f1f4e30a5d0>), ('30', <django.utils.functional.__proxy__ object at 0x7f1f4e30aa50>), ('365', <django.utils.functional.__proxy__ object at 0x7f1f4e30a050>), ('other', <django.utils.functional.__proxy__ object at 0x7f1f4e30a710>))
-
base_fields
= OrderedDict([('period', <horizon.forms.fields.ThemableChoiceField object at 0x7f1f4ed21d50>), ('date_from', <django.forms.fields.DateField object at 0x7f1f4ed21a90>), ('date_to', <django.forms.fields.DateField object at 0x7f1f4ec08710>)])
-
clean_date_from
()[source]
-
clean_date_to
()[source]
-
declared_fields
= OrderedDict([('period', <horizon.forms.fields.ThemableChoiceField object at 0x7f1f4ed21d50>), ('date_from', <django.forms.fields.DateField object at 0x7f1f4ed21a90>), ('date_to', <django.forms.fields.DateField object at 0x7f1f4ec08710>)])
-
handle
(request, data)[source]
-
media
-