Browse Source

Zakázána editace username

middleware_test
Jonas Havelka 3 years ago
parent
commit
feb0c219ea
  1. 3
      seminar/forms.py

3
seminar/forms.py

@ -146,7 +146,8 @@ class PrihlaskaForm(forms.Form):
class ProfileEditForm(forms.Form):
username = forms.CharField(label='Přihlašovací jméno',
max_length=256,
required=True)
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…
Cancel
Save