From b4dd6d5ccb63316e9efdd878105f1d13a78243b6 Mon Sep 17 00:00:00 2001 From: "Pavel \"LEdoian\" Turinsky" Date: Thu, 2 Sep 2021 17:25:45 +0200 Subject: [PATCH] Test --- seminar/views/views_all.py | 1 + 1 file changed, 1 insertion(+) diff --git a/seminar/views/views_all.py b/seminar/views/views_all.py index d6ca82bf..84eab983 100644 --- a/seminar/views/views_all.py +++ b/seminar/views/views_all.py @@ -1167,6 +1167,7 @@ def resitelEditView(request): resitel_edit.save() osoba_edit.save() return formularOKView(request) + else: raise NotImplementedError("Can't happen?") else: ## Stránka před odeslaním formuláře = předvyplněný formulář return render(request, 'seminar/profil/edit.html', {'form': form})