]> git.sommitrealweird.co.uk Git - sommitrealweird.git/blob - sommitrealweird/bpcms/urls.py
Make photo albums work
[sommitrealweird.git] / sommitrealweird / bpcms / urls.py
1 from django.conf.urls import patterns
2
3 urlpatterns = patterns('',
4     (r'^$', 'bpcms.views.document_view', {'slug': 'index'}),
5     (r'^css-docs/(?P<slug>[^/]+)$', 'bpcms.views.css_view'),
6     (r'^(?P<slug>[^/]+)/$', 'bpcms.views.document_view'),
7     (r'^(?P<folders>.*)/(?P<slug>[^/]+)/$', 'bpcms.views.document_view'),
8 )
9