|
|
|
from django.conf.urls import patterns, url
|
|
|
|
from . import views, export
|
|
|
|
|
|
|
|
urlpatterns = patterns('',
|
|
|
|
|
|
|
|
url(r'^co-je-MaM/organizatori/$', views.CojemamOrganizatoriView.as_view()),
|
|
|
|
|
|
|
|
url(r'^archiv/cisla/$', views.CislaView.as_view()),
|
|
|
|
|
|
|
|
url(r'^rocnik/(?P<rocnik>\d+)/$', views.RocnikView.as_view(), name='seminar_rocnik'),
|
|
|
|
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/(?P<pk>\d+)/$', views.SoustredeniView.as_view(), name='seminar_soustredeni'),
|
|
|
|
|
|
|
|
url(r'^zadani/aktualni/$', views.AktualniZadaniView, name='seminar_aktualni_zadani'),
|
|
|
|
|
|
|
|
url(r'^aesop-export/mam-rocnik-(?P<prvni_rok>\d+)\.csv$', export.ExportRocnikView.as_view(), name='seminar_export_rocnik'),
|
|
|
|
url(r'^aesop-export/mam-sous-(?P<datum_zacatku>[\d-]+)\.csv$', export.ExportSousView.as_view(), name='seminar_export_sous'),
|
|
|
|
url(r'^aesop-export/index.csv$', export.ExportIndexView.as_view(), name='seminar_export_index'),
|
|
|
|
)
|