Posli -> Vloz
This commit is contained in:
parent
baaaa0829a
commit
37d29fcf58
3 changed files with 3 additions and 3 deletions
|
@ -19,7 +19,7 @@ from seminar.utils import org_required, resitel_required, viewMethodSwitch, \
|
|||
from . import views
|
||||
|
||||
urlpatterns = [
|
||||
path('org/add_solution', org_required(views.PosliReseniView.as_view()), name='seminar_vloz_reseni'),
|
||||
path('org/add_solution', org_required(views.VlozReseniView.as_view()), name='seminar_vloz_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/odevzdana_reseni/', resitel_or_org_required(views.PrehledOdevzdanychReseni.as_view()), name='seminar_resitel_odevzdana_reseni'),
|
||||
|
|
|
@ -367,8 +367,8 @@ class SeznamAktualnichReseniView(SeznamReseniView):
|
|||
return qs
|
||||
|
||||
|
||||
class PosliReseniView(LoginRequiredMixin, FormView):
|
||||
template_name = 'odevzdavatko/posli_reseni.html'
|
||||
class VlozReseniView(LoginRequiredMixin, FormView):
|
||||
template_name = 'odevzdavatko/vloz_reseni.html'
|
||||
form_class = f.PosliReseniForm
|
||||
|
||||
def form_valid(self, form):
|
||||
|
|
Loading…
Reference in a new issue