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.
5 from django.conf.urls.defaults import *
6 from catalogue import forms
9 urlpatterns = patterns('',
10 url(r'^$', 'django.views.generic.simple.direct_to_template', {
11 'template': 'lessons/document_list.html',
12 }, name='lessons_document_list'),
14 url(r'^(?P<slug>[a-zA-Z0-9_-]+)/$', 'lessons.views.document_detail', name='lessons_document_detail'),