X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/1a798a8611063ff9abc2b8cd9104e45580f7bffd..f2dd9c713605ba2a17425267eb2c0c4b4f7dc928:/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(),