Merge branch 'data_migrations' of gimli.ms.mff.cuni.cz:/akce/mam/git/mamweb into data_migrations

This commit is contained in:
Pavel 'LEdoian' Turinsky 2020-02-08 03:46:34 +01:00
commit f83ba1d22c
2 changed files with 6 additions and 2 deletions

View file

@ -9,9 +9,13 @@
{% block content %}
<h1>
{% block nadpis1a %}{% block nadpis1b %}
Přihláška do semináře
Vložit řešení
{% endblock %}{% endblock %}
</h1>
<form action="{% url 'seminar_vloz_reseni' %}" method="post">
{% csrf_token %}
{{form.as_p}}
<input type="submit" value="Vložit">
</form>
{% endblock %}

View file

@ -117,7 +117,7 @@ urlpatterns = [
path('auth/resitel_edit', views.resitelEditView, name='seminar_resitel_edit'),
path('temp/add_solution', views.AddSolutionView.as_view()),
path('temp/add_solution', views.AddSolutionView.as_view(),name='seminar_vloz_reseni'),
path('', views.TitulniStranaView.as_view(), name='titulni_strana'),