Zakázána editace username
This commit is contained in:
parent
2a1c6b56c2
commit
feb0c219ea
1 changed files with 4 additions and 3 deletions
|
@ -144,9 +144,10 @@ class PrihlaskaForm(forms.Form):
|
|||
|
||||
|
||||
class ProfileEditForm(forms.Form):
|
||||
username = forms.CharField(label='Přihlašovací jméno',
|
||||
max_length=256,
|
||||
required=True)
|
||||
username = forms.CharField(label='Přihlašovací jméno',
|
||||
max_length=256,
|
||||
required=True,
|
||||
disabled=True)
|
||||
|
||||
jmeno = forms.CharField(label='Jméno', max_length=256, required=True)
|
||||
prijmeni = forms.CharField(label='Příjmení', max_length=256, required=True)
|
||||
|
|
Loading…
Reference in a new issue