Browse Source

Revert "V osobních údajích lze změnit username"

This reverts commit 76591c9916.
middleware_test
Jonas Havelka 3 years ago
parent
commit
2a1c6b56c2
  1. 1
      seminar/views/views_all.py

1
seminar/views/views_all.py

@ -1132,7 +1132,6 @@ def resitelEditView(request):
if form.is_valid():
## Změny v osobě
fcd = form.cleaned_data
osoba_edit.user.username = fcd['username']
osoba_edit.jmeno = fcd['jmeno']
osoba_edit.prijmeni = fcd['prijmeni']
osoba_edit.pohlavi_muz = fcd['pohlavi_muz']

Loading…
Cancel
Save