mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
Django 3.2.4 LTS upgrade
This commit is contained in:
parent
d7c0f9445d
commit
5aa22ac042
28 changed files with 58 additions and 28 deletions
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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue