The openstack_dashboard.dashboards.admin.metadata_defs.forms ModuleΒΆ

Forms for managing metadata.

class openstack_dashboard.dashboards.admin.metadata_defs.forms.CreateNamespaceForm(request, *args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

base_fields = OrderedDict([('source_type', <django.forms.fields.ChoiceField object at 0x7f9f405c6550>), ('metadef_file', <django.forms.fields.FileField object at 0x7f9f405c6fd0>), ('direct_input', <django.forms.fields.CharField object at 0x7f9f3efb4c50>), ('public', <django.forms.fields.BooleanField object at 0x7f9f4038b650>), ('protected', <django.forms.fields.BooleanField object at 0x7f9f40857f50>)])
clean()[source]
declared_fields = OrderedDict([('source_type', <django.forms.fields.ChoiceField object at 0x7f9f405c6550>), ('metadef_file', <django.forms.fields.FileField object at 0x7f9f405c6fd0>), ('direct_input', <django.forms.fields.CharField object at 0x7f9f3efb4c50>), ('public', <django.forms.fields.BooleanField object at 0x7f9f4038b650>), ('protected', <django.forms.fields.BooleanField object at 0x7f9f40857f50>)])
handle(request, data)[source]
media
class openstack_dashboard.dashboards.admin.metadata_defs.forms.ManageResourceTypesForm(request, *args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

base_fields = OrderedDict()
declared_fields = OrderedDict()
get_names(items)[source]
handle(request, context)[source]
media
class openstack_dashboard.dashboards.admin.metadata_defs.forms.UpdateNamespaceForm(request, *args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

base_fields = OrderedDict([('public', <django.forms.fields.BooleanField object at 0x7f9f40857fd0>), ('protected', <django.forms.fields.BooleanField object at 0x7f9f408574d0>)])
declared_fields = OrderedDict([('public', <django.forms.fields.BooleanField object at 0x7f9f40857fd0>), ('protected', <django.forms.fields.BooleanField object at 0x7f9f408574d0>)])
handle(request, data)[source]
media

Previous topic

The openstack_dashboard.dashboards.admin.metadata_defs Module

Next topic

The openstack_dashboard.dashboards.admin.metadata_defs.tabs Module

Project Source

This Page