Odkaz v hlavnim menu na soustredeni poradne pres {% url %}
This commit is contained in:
parent
f71ea2db1a
commit
58301b8b44
2 changed files with 3 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
|||
|
||||
<ul>
|
||||
<li><a href="/co-je-MaM/uvod/">Co je M&M</a>
|
||||
<li><a href="/soustredeni/">Soustředění</a>
|
||||
<li><a href="{% url 'seminar_seznam_soustredeni' %}">Soustředění</a>
|
||||
<li><a href="/zadani/aktualni/">Zadání</a>
|
||||
<li><a href="/clanky/uvod/">Články</a>
|
||||
<li><a href="/archiv/cisla/">Archiv</a>
|
||||
|
|
|
@ -11,7 +11,8 @@ urlpatterns = patterns('',
|
|||
url(r'^cislo/(?P<rocnik>\d+).(?P<cislo>\d+)/$', views.CisloView.as_view(), name='seminar_cislo'),
|
||||
url(r'^problem/(?P<pk>\d+)/$', views.ProblemView.as_view(), name='seminar_problem'),
|
||||
|
||||
url(r'^soustredeni/$', views.SoustredeniListView.as_view()),
|
||||
url(r'^soustredeni/$', views.SoustredeniListView.as_view(),
|
||||
name = 'seminar_seznam_soustredeni'),
|
||||
url(r'^soustredeni/(?P<pk>\d+)/$', views.SoustredeniView.as_view(), name='seminar_soustredeni'),
|
||||
|
||||
url(r'^zadani/aktualni/$', views.AktualniZadaniView, name='seminar_aktualni_zadani'),
|
||||
|
|
Loading…
Reference in a new issue