From cea3eee7b59e2c32818b6b5d46466092c2cd4eeb Mon Sep 17 00:00:00 2001 From: "Pavel \"LEdoian\" Turinsky" Date: Wed, 2 Dec 2020 00:54:31 +0100 Subject: [PATCH] =?UTF-8?q?Pr=C3=A1va=20k=20odevzd=C3=A1v=C3=A1tku?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- seminar/urls.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/seminar/urls.py b/seminar/urls.py index 7050241f..b4993eca 100644 --- a/seminar/urls.py +++ b/seminar/urls.py @@ -157,10 +157,10 @@ urlpatterns = [ # org_member_required(views.OrganizatorAutocomplete.as_view()), # name='seminar_autocomplete_organizator') - path('temp/reseni/', views.TabulkaOdevzdanychReseniView.as_view(), name='odevzdavatko_tabulka'), - path('temp/reseni///', views.ReseniProblemuView.as_view(), name='odevzdavatko_reseni_resitele_k_problemu'), - path('temp/reseni/', views.DetailReseniView.as_view(), name='odevzdavatko_detail_reseni'), - path('temp/reseni/all', views.SeznamReseniView.as_view()), - path('temp/reseni/akt', views.SeznamAktualnichReseniView.as_view()), + path('temp/reseni/', org_required(views.TabulkaOdevzdanychReseniView.as_view()), name='odevzdavatko_tabulka'), + path('temp/reseni///', org_required(views.ReseniProblemuView.as_view()), name='odevzdavatko_reseni_resitele_k_problemu'), + path('temp/reseni/', org_required(views.DetailReseniView.as_view()), name='odevzdavatko_detail_reseni'), + path('temp/reseni/all', org_required(views.SeznamReseniView.as_view())), + path('temp/reseni/akt', org_required(views.SeznamAktualnichReseniView.as_view())), ]