Numeric ids instead of string ones in exercises.json
[edumed.git] / curriculum / urls.py
1 from django.conf.urls import patterns, include, url
2 from .views import CompetenceDetailView, CompetencesView
3
4 urlpatterns = patterns('',
5     url(r'^$', CompetencesView.as_view(), name='curriculum'),
6     url(r'^(?P<slug>[^/]+)/$', CompetenceDetailView.as_view(), name='curriculum_competence'),
7 )