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):
|
class ProfileEditForm(forms.Form):
|
||||||
username = forms.CharField(label='Přihlašovací jméno',
|
username = forms.CharField(label='Přihlašovací jméno',
|
||||||
max_length=256,
|
max_length=256,
|
||||||
required=True)
|
required=True,
|
||||||
|
disabled=True)
|
||||||
|
|
||||||
jmeno = forms.CharField(label='Jméno', max_length=256, required=True)
|
jmeno = forms.CharField(label='Jméno', max_length=256, required=True)
|
||||||
prijmeni = forms.CharField(label='Příjmení', max_length=256, required=True)
|
prijmeni = forms.CharField(label='Příjmení', max_length=256, required=True)
|
||||||
|
|
Loading…
Reference in a new issue