Práva k odevzdávátku

This commit is contained in:
Pavel "LEdoian" Turinsky 2020-12-02 00:54:31 +01:00
parent dd4cdfa494
commit cea3eee7b5

View file

@ -157,10 +157,10 @@ urlpatterns = [
# org_member_required(views.OrganizatorAutocomplete.as_view()), # org_member_required(views.OrganizatorAutocomplete.as_view()),
# name='seminar_autocomplete_organizator') # name='seminar_autocomplete_organizator')
path('temp/reseni/', views.TabulkaOdevzdanychReseniView.as_view(), name='odevzdavatko_tabulka'), path('temp/reseni/', org_required(views.TabulkaOdevzdanychReseniView.as_view()), name='odevzdavatko_tabulka'),
path('temp/reseni/<int:problem>/<int:resitel>/', views.ReseniProblemuView.as_view(), name='odevzdavatko_reseni_resitele_k_problemu'), path('temp/reseni/<int:problem>/<int:resitel>/', org_required(views.ReseniProblemuView.as_view()), name='odevzdavatko_reseni_resitele_k_problemu'),
path('temp/reseni/<int:pk>', views.DetailReseniView.as_view(), name='odevzdavatko_detail_reseni'), path('temp/reseni/<int:pk>', org_required(views.DetailReseniView.as_view()), name='odevzdavatko_detail_reseni'),
path('temp/reseni/all', views.SeznamReseniView.as_view()), path('temp/reseni/all', org_required(views.SeznamReseniView.as_view())),
path('temp/reseni/akt', views.SeznamAktualnichReseniView.as_view()), path('temp/reseni/akt', org_required(views.SeznamAktualnichReseniView.as_view())),
] ]