]> git.sommitrealweird.co.uk Git - sommitrealweird.git/blob - sommitrealweird/bpcms/urls.py
Stop ReST from dropping the primary title if it's the first title in the document.
[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