Let the annoying commence.
[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 )