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 0x7f19b8cee9d0>), ('metadef_file', <django.forms.fields.FileField object at 0x7f19b8ceeb10>), ('direct_input', <django.forms.fields.CharField object at 0x7f19b8ceec50>), ('public', <django.forms.fields.BooleanField object at 0x7f19b8ceecd0>), ('protected', <django.forms.fields.BooleanField object at 0x7f19b8ceed90>)])
clean()[source]
declared_fields = OrderedDict([('source_type', <django.forms.fields.ChoiceField object at 0x7f19b8cee9d0>), ('metadef_file', <django.forms.fields.FileField object at 0x7f19b8ceeb10>), ('direct_input', <django.forms.fields.CharField object at 0x7f19b8ceec50>), ('public', <django.forms.fields.BooleanField object at 0x7f19b8ceecd0>), ('protected', <django.forms.fields.BooleanField object at 0x7f19b8ceed90>)])
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 0x7f19b8ceee50>), ('protected', <django.forms.fields.BooleanField object at 0x7f19b8ceef10>)])
declared_fields = OrderedDict([('public', <django.forms.fields.BooleanField object at 0x7f19b8ceee50>), ('protected', <django.forms.fields.BooleanField object at 0x7f19b8ceef10>)])
handle(request, data)[source]
media

Previous topic

The openstack_dashboard.dashboards.admin.metadata_defs.constants Module

Next topic

The openstack_dashboard.dashboards.admin.metadata_defs Module

Project Source

This Page