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