|
@ -155,7 +155,7 @@ urlpatterns = [ |
|
|
path('api/autocomplete/resitel/', org_required(views.ResitelAutocomplete.as_view()), name='autocomplete_resitel'), |
|
|
path('api/autocomplete/resitel/', org_required(views.ResitelAutocomplete.as_view()), name='autocomplete_resitel'), |
|
|
path('api/autocomplete/problem/odevzdatelny',views.OdevzdatelnyProblemAutocomplete.as_view(), name='autocomplete_problem_odevzdatelny'), |
|
|
path('api/autocomplete/problem/odevzdatelny',views.OdevzdatelnyProblemAutocomplete.as_view(), name='autocomplete_problem_odevzdatelny'), |
|
|
|
|
|
|
|
|
path('temp/add_solution', org_required(views.AddSolutionView.as_view()), name='seminar_vloz_reseni'), |
|
|
path('org/add_solution', org_required(views.AddSolutionView.as_view()), name='seminar_vloz_reseni'), |
|
|
path('resitel/nahraj_reseni', resitel_required(views.NahrajReseniView.as_view()), name='seminar_nahraj_reseni'), |
|
|
path('resitel/nahraj_reseni', resitel_required(views.NahrajReseniView.as_view()), name='seminar_nahraj_reseni'), |
|
|
|
|
|
|
|
|
re_path(r'^temp/vue/.*$',views.VueTestView.as_view(),name='vue_test_view'), |
|
|
re_path(r'^temp/vue/.*$',views.VueTestView.as_view(),name='vue_test_view'), |
|
@ -169,9 +169,9 @@ 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/', org_required(views.TabulkaOdevzdanychReseniView.as_view()), name='odevzdavatko_tabulka'), |
|
|
path('org/reseni/', org_required(views.TabulkaOdevzdanychReseniView.as_view()), name='odevzdavatko_tabulka'), |
|
|
path('temp/reseni/<int:problem>/<int:resitel>/', org_required(views.ReseniProblemuView.as_view()), name='odevzdavatko_reseni_resitele_k_problemu'), |
|
|
path('org/reseni/<int:problem>/<int:resitel>/', org_required(views.ReseniProblemuView.as_view()), name='odevzdavatko_reseni_resitele_k_problemu'), |
|
|
path('temp/reseni/<int:pk>', org_required(viewMethodSwitch(get=views.DetailReseniView.as_view(), post=views.hodnoceniReseniView)), name='odevzdavatko_detail_reseni'), |
|
|
path('org/reseni/<int:pk>', org_required(viewMethodSwitch(get=views.DetailReseniView.as_view(), post=views.hodnoceniReseniView)), name='odevzdavatko_detail_reseni'), |
|
|
path('temp/reseni/all', org_required(views.SeznamReseniView.as_view())), |
|
|
path('org/reseni/all', org_required(views.SeznamReseniView.as_view())), |
|
|
path('temp/reseni/akt', org_required(views.SeznamAktualnichReseniView.as_view())), |
|
|
path('org/reseni/akt', org_required(views.SeznamAktualnichReseniView.as_view())), |
|
|
] |
|
|
] |
|
|