From 2a1c6b56c22da6fc9a426df7584bb9df20848bb8 Mon Sep 17 00:00:00 2001 From: Jonas Havelka Date: Sun, 29 Aug 2021 17:15:14 +0200 Subject: [PATCH] =?UTF-8?q?Revert=20"V=20osobn=C3=ADch=20=C3=BAdaj=C3=ADch?= =?UTF-8?q?=20lze=20zm=C4=9Bnit=20username"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 76591c9916d6a4125fca30b2398cbbda44a34a87. --- seminar/views/views_all.py | 1 - 1 file changed, 1 deletion(-) diff --git a/seminar/views/views_all.py b/seminar/views/views_all.py index 5521ee30..a12bbc98 100644 --- a/seminar/views/views_all.py +++ b/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']