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 0x7f6ab8518890>), ('metadef_file', <django.forms.fields.FileField object at 0x7f6ab8518350>), ('direct_input', <django.forms.fields.CharField object at 0x7f6ab8518b90>), ('public', <django.forms.fields.BooleanField object at 0x7f6ab9d00810>), ('protected', <django.forms.fields.BooleanField object at 0x7f6ab8665710>)])
clean()[source]
declared_fields = OrderedDict([('source_type', <django.forms.fields.ChoiceField object at 0x7f6ab8518890>), ('metadef_file', <django.forms.fields.FileField object at 0x7f6ab8518350>), ('direct_input', <django.forms.fields.CharField object at 0x7f6ab8518b90>), ('public', <django.forms.fields.BooleanField object at 0x7f6ab9d00810>), ('protected', <django.forms.fields.BooleanField object at 0x7f6ab8665710>)])
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 0x7f6ab8665410>), ('protected', <django.forms.fields.BooleanField object at 0x7f6ab851a490>)])
declared_fields = OrderedDict([('public', <django.forms.fields.BooleanField object at 0x7f6ab8665410>), ('protected', <django.forms.fields.BooleanField object at 0x7f6ab851a490>)])
handle(request, data)[source]
media

Previous topic

The openstack_dashboard.dashboards.admin.metadata_defs.views Module

Next topic

The openstack_dashboard.dashboards.admin.metadata_defs Module

Project Source

This Page