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 0x7f446e7c0950>), ('metadef_file', <django.forms.fields.FileField object at 0x7f446e7c0a10>), ('direct_input', <django.forms.fields.CharField object at 0x7f446e7c0590>), ('public', <django.forms.fields.BooleanField object at 0x7f446e7c0690>), ('protected', <django.forms.fields.BooleanField object at 0x7f446e7c0510>)])
clean()[source]
declared_fields = OrderedDict([('source_type', <django.forms.fields.ChoiceField object at 0x7f446e7c0950>), ('metadef_file', <django.forms.fields.FileField object at 0x7f446e7c0a10>), ('direct_input', <django.forms.fields.CharField object at 0x7f446e7c0590>), ('public', <django.forms.fields.BooleanField object at 0x7f446e7c0690>), ('protected', <django.forms.fields.BooleanField object at 0x7f446e7c0510>)])
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

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