1 from django.conf.urls.defaults import *
3 urlpatterns = patterns('',
4 (r'^$', 'bpcms.views.document_view', {'slug': 'index'}),
5 (r'^(?P<slug>[^/]+)/$', 'bpcms.views.document_view'),
6 (r'^(?P<folders>.*)/(?P<slug>[^/]+)/$', 'bpcms.views.document_view'),