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