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