From c64294099e79745140a7eb3112882bef3616771d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=C3=A1=C5=A1=20Havelka?= Date: Mon, 19 Jun 2023 20:15:35 +0200 Subject: [PATCH] NahrajReseniNadproblemView -> NahrajReseniRozcestnikTematekView --- odevzdavatko/urls.py | 2 +- odevzdavatko/views.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/odevzdavatko/urls.py b/odevzdavatko/urls.py index 35b74eea..b7de10b0 100644 --- a/odevzdavatko/urls.py +++ b/odevzdavatko/urls.py @@ -20,7 +20,7 @@ from . import views urlpatterns = [ path('org/add_solution', org_required(views.PosliReseniView.as_view()), name='seminar_vloz_reseni'), - path('resitel/nahraj_reseni', resitel_required(views.NahrajReseniNadproblemView.as_view()), name='seminar_nahraj_reseni'), + path('resitel/nahraj_reseni', resitel_required(views.NahrajReseniRozcestnikTematekView.as_view()), name='seminar_nahraj_reseni'), path('resitel/nahraj_reseni//', resitel_required(views.NahrajReseniView.as_view()), name='seminar_nahraj_reseni'), path('resitel/odevzdana_reseni/', resitel_or_org_required(views.PrehledOdevzdanychReseni.as_view()), name='seminar_resitel_odevzdana_reseni'), diff --git a/odevzdavatko/views.py b/odevzdavatko/views.py index 504da6df..e7d362e0 100644 --- a/odevzdavatko/views.py +++ b/odevzdavatko/views.py @@ -399,7 +399,7 @@ class PosliReseniView(LoginRequiredMixin, FormView): return data -class NahrajReseniNadproblemView(LoginRequiredMixin, ListView): +class NahrajReseniRozcestnikTematekView(LoginRequiredMixin, ListView): model = m.Problem template_name = 'odevzdavatko/nahraj_reseni_nadproblem.html'