no Nones in exam form
[edumed.git] / curriculum / urls.py
1 # -*- coding: utf-8 -*-
2 from django.conf.urls import patterns, url
3 from .views import CompetenceDetailView, CompetencesView
4
5 urlpatterns = patterns(
6     '',
7     url(r'^$', CompetencesView.as_view(), name='curriculum'),
8     url(r'^(?P<slug>[^/]+)/$', CompetenceDetailView.as_view(), name='curriculum_competence'),
9 )