X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/1a798a8611063ff9abc2b8cd9104e45580f7bffd..b2de1e7fc98e2e1329ccc24e1c36135518031ad2:/catalogue/urls.py?ds=sidebyside 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(),