]> git.sommitrealweird.co.uk Git - sommitrealweird.git/blob - sommitrealweird/bpcms/urls.py
Lots of changes to fix lots of bugs and add comments to blog
[sommitrealweird.git] / sommitrealweird / bpcms / urls.py
1 from django.conf.urls.defaults import *
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