Code layout change.
[wolnelektury.git] / src / chunks / urls.py
diff --git a/src/chunks/urls.py b/src/chunks/urls.py
new file mode 100644 (file)
index 0000000..005cadd
--- /dev/null
@@ -0,0 +1,9 @@
+# -*- coding: utf-8 -*-
+# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
+from django.conf.urls import patterns, url
+
+urlpatterns = patterns('chunks.views',
+    url(r'^chunk/(?P<key>.+)\.(?P<lang>.+)\.html$', 'chunk', name='chunk'),
+)