Upgrade odevzdavatka #30
2 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ from . import views
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
path('org/add_solution', org_required(views.PosliReseniView.as_view()), name='seminar_vloz_reseni'),
|
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/<int:nadproblem_id>/', resitel_required(views.NahrajReseniView.as_view()), name='seminar_nahraj_reseni'),
|
path('resitel/nahraj_reseni/<int:nadproblem_id>/', 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'),
|
path('resitel/odevzdana_reseni/', resitel_or_org_required(views.PrehledOdevzdanychReseni.as_view()), name='seminar_resitel_odevzdana_reseni'),
|
||||||
|
|
||||||
|
|
|
@ -399,7 +399,7 @@ class PosliReseniView(LoginRequiredMixin, FormView):
|
||||||
return data
|
return data
|
||||||
|
|
||||||
|
|
||||||
class NahrajReseniNadproblemView(LoginRequiredMixin, ListView):
|
class NahrajReseniRozcestnikTematekView(LoginRequiredMixin, ListView):
|
||||||
model = m.Problem
|
model = m.Problem
|
||||||
template_name = 'odevzdavatko/nahraj_reseni_nadproblem.html'
|
template_name = 'odevzdavatko/nahraj_reseni_nadproblem.html'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue