]> git.sommitrealweird.co.uk Git - sommitrealweird.git/blob - sommitrealweird/bpcms/urls.py
Changes to make it work with django 1.11 and python3
[sommitrealweird.git] / sommitrealweird / bpcms / urls.py
1 from django.conf.urls import url
2 import bpcms.views
3
4 urlpatterns = [
5     url(r'^$', bpcms.views.document_view, {'slug': 'index'}, name='bpcms-document-view'),
6     url(r'^css-docs/(?P<slug>[^/]+)$', bpcms.views.css_view),
7     url(r'^(?P<slug>[^/]+)/$', bpcms.views.document_view, name='bpcms-document-view'),
8     url(r'^(?P<folders>.*)/(?P<slug>[^/]+)/$', bpcms.views.document_view, name='bpcms-document-view'),
9 ]
10