X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/1a798a8611063ff9abc2b8cd9104e45580f7bffd..b914ea210fbbcc10413a5ee78a3a7c5aab2807a0:/catalogue/urls.py diff --git a/catalogue/urls.py b/catalogue/urls.py index 61e9e9a..f2a8b08 100755 --- 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'^$', - SectionView.as_view(), + LessonListView.as_view(), name="catalogue_lessons"), url(r'^(?P[^/]+)/$', LessonView.as_view(),