Adding instructions
[edumed.git] / catalogue / urls.py
1 from django.conf.urls import patterns, include, url
2 from .views import SectionView, LessonView
3
4 urlpatterns = patterns('',
5     url(r'^$',
6         SectionView.as_view(),
7         name="catalogue_lessons"),
8     url(r'^(?P<slug>[^/]+)/$',
9         LessonView.as_view(),
10         name="catalogue_lesson"),
11 )