The castellan_ui.content.shared_forms
Module
updated: 2018-06-15 19:03
The castellan_ui.content.shared_forms
Module
-
class
castellan_ui.content.shared_forms.
GenerateKeyPair
(request, *args, **kwargs)[source]
Bases: horizon.forms.base.SelfHandlingForm
-
base_fields
= {'algorithm': <django.forms.fields.CharField object at 0x7fefeaecf910>, 'length': <django.forms.fields.IntegerField object at 0x7fefeaecf9d0>, 'name': <django.forms.fields.RegexField object at 0x7fefeaecfa90>}
-
declared_fields
= {'algorithm': <django.forms.fields.CharField object at 0x7fefeaecf910>, 'length': <django.forms.fields.IntegerField object at 0x7fefeaecf9d0>, 'name': <django.forms.fields.RegexField object at 0x7fefeaecfa90>}
-
handle
(request, data)[source]
-
media
-
class
castellan_ui.content.shared_forms.
ImportKey
(request, *args, **kwargs)[source]
Bases: horizon.forms.base.SelfHandlingForm
-
base_fields
= {'algorithm': <django.forms.fields.CharField object at 0x7fefeaecf1d0>, 'bit_length': <django.forms.fields.IntegerField object at 0x7fefeaecf290>, 'direct_input': <django.forms.fields.CharField object at 0x7fefeaecf810>, 'key_file': <django.forms.fields.FileField object at 0x7fefeaecf710>, 'name': <django.forms.fields.RegexField object at 0x7fefeaecf3d0>, 'source_type': <django.forms.fields.ChoiceField object at 0x7fefeaecf610>}
-
clean
()[source]
-
clean_key_data
(key_pem)[source]
This should be implemented for the specific key import form
-
declared_fields
= {'algorithm': <django.forms.fields.CharField object at 0x7fefeaecf1d0>, 'bit_length': <django.forms.fields.IntegerField object at 0x7fefeaecf290>, 'direct_input': <django.forms.fields.CharField object at 0x7fefeaecf810>, 'key_file': <django.forms.fields.FileField object at 0x7fefeaecf710>, 'name': <django.forms.fields.RegexField object at 0x7fefeaecf3d0>, 'source_type': <django.forms.fields.ChoiceField object at 0x7fefeaecf610>}
-
handle
(request, data, key_type)[source]
-
media
-
class
castellan_ui.content.shared_forms.
ListTextWidget
(data_list, name, *args, **kwargs)[source]
Bases: django.forms.widgets.TextInput
-
media
-
render
(name, value, attrs=None)[source]
updated: 2018-06-15 19:03