mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-05-26 15:13:33 +00:00
Django 3.2.4 LTS upgrade
This commit is contained in:
8
virtsecrets/forms.py
Normal file
8
virtsecrets/forms.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from django import forms
|
||||
|
||||
|
||||
class AddSecret(forms.Form):
|
||||
ephemeral = forms.ChoiceField(required=True, choices=(('no', 'no'), ('yes', 'yes')))
|
||||
private = forms.ChoiceField(required=True, choices=(('no', 'no'), ('yes', 'yes')))
|
||||
usage_type = forms.ChoiceField(required=True, choices=(('ceph', 'ceph'), ('volume', 'volume'), ('iscsi', 'iscsi')))
|
||||
data = forms.CharField(max_length=100, required=True)
|
||||
Reference in New Issue
Block a user