Fix frozen forms
This commit is contained in:
parent
b9aaf6a19c
commit
7bf0c5f09e
2 changed files with 2 additions and 1 deletions
|
@ -61,7 +61,7 @@ class AccountForm(forms.ModelForm):
|
|||
|
||||
class Meta:
|
||||
model = Account
|
||||
fields = ["trigramme", "promo", "nickname", "is_frozen"]
|
||||
fields = ["trigramme", "promo", "nickname"]
|
||||
widgets = {"trigramme": forms.TextInput(attrs={"autocomplete": "off"})}
|
||||
|
||||
|
||||
|
|
|
@ -435,6 +435,7 @@ def account_update(request, trigramme):
|
|||
"user_info_form": user_info_form,
|
||||
"account": account,
|
||||
"account_form": account_form,
|
||||
"frozen_form": frozen_form,
|
||||
"group_form": group_form,
|
||||
"negative_form": negative_form,
|
||||
"pwd_form": pwd_form,
|
||||
|
|
Loading…
Reference in a new issue