V osobních údajích lze změnit username
This commit is contained in:
parent
ea1d87909c
commit
76591c9916
1 changed files with 1 additions and 0 deletions
|
@ -1132,6 +1132,7 @@ 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…
Reference in a new issue