|
@ -144,14 +144,6 @@ urlpatterns = [ |
|
|
# Obecný view na profil -- orgům dá rozcestník, řešitelům jejich stránku |
|
|
# Obecný view na profil -- orgům dá rozcestník, řešitelům jejich stránku |
|
|
path('profil/', views.profilView, name='profil'), |
|
|
path('profil/', views.profilView, name='profil'), |
|
|
|
|
|
|
|
|
# Autocomplete |
|
|
|
|
|
path('api/autocomplete/skola/',views.SkolaAutocomplete.as_view(), name='autocomplete_skola'), |
|
|
|
|
|
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'), |
|
|
|
|
|
|
|
|
|
|
|
# Export škol |
|
|
|
|
|
path('api/export/skoly/', views.exportSkolView, name='export_skoly'), |
|
|
|
|
|
|
|
|
|
|
|
path('org/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'), |
|
|
|
|
|
|
|
@ -161,11 +153,6 @@ urlpatterns = [ |
|
|
path('', views.TitulniStranaView.as_view(), name='titulni_strana'), |
|
|
path('', views.TitulniStranaView.as_view(), name='titulni_strana'), |
|
|
path('jak-resit/', views.JakResitView.as_view(), name='jak_resit'), |
|
|
path('jak-resit/', views.JakResitView.as_view(), name='jak_resit'), |
|
|
|
|
|
|
|
|
# Ceka na autocomplete v3 |
|
|
|
|
|
# path('autocomplete/organizatori/', |
|
|
|
|
|
# org_member_required(views.OrganizatorAutocomplete.as_view()), |
|
|
|
|
|
# name='seminar_autocomplete_organizator') |
|
|
|
|
|
|
|
|
|
|
|
path('org/reseni/', org_required(views.TabulkaOdevzdanychReseniView.as_view()), name='odevzdavatko_tabulka'), |
|
|
path('org/reseni/', org_required(views.TabulkaOdevzdanychReseniView.as_view()), name='odevzdavatko_tabulka'), |
|
|
path('org/reseni/rocnik/<int:rocnik>/', org_required(views.TabulkaOdevzdanychReseniView.as_view()), name='odevzdavatko_tabulka'), |
|
|
path('org/reseni/rocnik/<int:rocnik>/', org_required(views.TabulkaOdevzdanychReseniView.as_view()), name='odevzdavatko_tabulka'), |
|
|
path('org/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'), |
|
|