feat: add portal api key management
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
from django import forms
|
||||
|
||||
|
||||
class ApiKeyCreateForm(forms.Form):
|
||||
name = forms.CharField(
|
||||
label="名称",
|
||||
max_length=80,
|
||||
required=False,
|
||||
widget=forms.TextInput(
|
||||
attrs={
|
||||
"autocomplete": "off",
|
||||
"class": "form-control",
|
||||
"placeholder": "例如:桌面端",
|
||||
}
|
||||
),
|
||||
)
|
||||
Reference in New Issue
Block a user