fnp
/
edumed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix sciezki kopernika test form
[edumed.git]
/
catalogue
/
urls.py
diff --git
a/catalogue/urls.py
b/catalogue/urls.py
index
61e9e9a
..
f2a8b08
100755
(executable)
--- a/
catalogue/urls.py
+++ b/
catalogue/urls.py
@@
-1,9
+1,11
@@
-from django.conf.urls import patterns, include, url
-from .views import SectionView, LessonView
+# -*- coding: utf-8 -*-
+from django.conf.urls import patterns, url
+from .views import LessonListView, LessonView
-urlpatterns = patterns('',
+urlpatterns = patterns(
+ '',
url(r'^$',
url(r'^$',
-
Section
View.as_view(),
+
LessonList
View.as_view(),
name="catalogue_lessons"),
url(r'^(?P<slug>[^/]+)/$',
LessonView.as_view(),
name="catalogue_lessons"),
url(r'^(?P<slug>[^/]+)/$',
LessonView.as_view(),