Remove obsolete jsonfield dependency.
[wolnelektury.git] / src / lesmianator / urls.py
1 # -*- coding: utf-8 -*-
2 # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
3 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
4 #
5 from django.conf.urls import url
6 from . import views
7
8
9 urlpatterns = [
10     url(r'^$', views.main_page, name='lesmianator'),
11     url(r'^wiersz/$', views.new_poem, name='new_poem'),
12     url(r'^lektura/(?P<slug>[a-z0-9-]+)/$', views.poem_from_book, name='poem_from_book'),
13     url(r'^polka/(?P<shelf>[a-zA-Z0-9-]+)/$', views.poem_from_set, name='poem_from_set'),
14     url(r'^wiersz/(?P<poem>[a-zA-Z0-9-]+)/$', views.get_poem, name='get_poem'),
15 ]