team-3/src/c3nav/editor/urls.py

10 lines
352 B
Python
Raw Normal View History

2016-08-31 17:14:31 +02:00
from django.conf.urls import url
from c3nav.editor.views import edit, main_index, section_detail
2016-09-23 15:23:02 +02:00
2016-08-31 17:14:31 +02:00
urlpatterns = [
2017-05-14 20:21:33 +02:00
url(r'^$', main_index, name='editor.index'),
url(r'^sections/(?P<pk>[0-9]+)/$', section_detail, name='editor.section'),
url(r'^sections/(?P<pk>[0-9]+)/edit$', edit, name='editor.section.edit', kwargs={'model': 'Section'}),
2016-08-31 17:14:31 +02:00
]