X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/357027375ff8867f42ca34bcbfb5a78b5b185fc3..2e45f239552a9e378a9e1f65274dfb7c13df220d:/src/lesmianator/urls.py?ds=inline diff --git a/src/lesmianator/urls.py b/src/lesmianator/urls.py index 1770140b9..37e363f8c 100644 --- a/src/lesmianator/urls.py +++ b/src/lesmianator/urls.py @@ -4,11 +4,11 @@ # from django.conf.urls import url, patterns -urlpatterns = patterns('lesmianator.views', +urlpatterns = patterns( + 'lesmianator.views', url(r'^$', 'main_page', name='lesmianator'), url(r'^wiersz/$', 'new_poem', name='new_poem'), url(r'^lektura/(?P[a-z0-9-]+)/$', 'poem_from_book', name='poem_from_book'), url(r'^polka/(?P[a-zA-Z0-9-]+)/$', 'poem_from_set', name='poem_from_set'), url(r'^wiersz/(?P[a-zA-Z0-9-]+)/$', 'get_poem', name='get_poem'), ) -