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 0x7f4246991110>), ('metadef_file', <django.forms.fields.FileField object at 0x7f42469915d0>), ('direct_input', <django.forms.fields.CharField object at 0x7f42469911d0>), ('public', <django.forms.fields.BooleanField object at 0x7f42469914d0>), ('protected', <django.forms.fields.BooleanField object at 0x7f4246991310>)])
clean()[source]
declared_fields = OrderedDict([('source_type', <django.forms.fields.ChoiceField object at 0x7f4246991110>), ('metadef_file', <django.forms.fields.FileField object at 0x7f42469915d0>), ('direct_input', <django.forms.fields.CharField object at 0x7f42469911d0>), ('public', <django.forms.fields.BooleanField object at 0x7f42469914d0>), ('protected', <django.forms.fields.BooleanField object at 0x7f4246991310>)])
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 0x7f42469916d0>), ('protected', <django.forms.fields.BooleanField object at 0x7f4246991510>)])
declared_fields = OrderedDict([('public', <django.forms.fields.BooleanField object at 0x7f42469916d0>), ('protected', <django.forms.fields.BooleanField object at 0x7f4246991510>)])
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.panel Module

Project Source

This Page