]> git.sommitrealweird.co.uk Git - sommitrealweird.git/blobdiff - sommitrealweird/urls.py
Add basic submenu support
[sommitrealweird.git] / sommitrealweird / urls.py
index 3cdfc7f601f00018007fccaaefdc4cf6bc7aaf4d..39adc87cdfb542b9fe4fb9e2f3ee985d278d366f 100644 (file)
@@ -8,9 +8,9 @@ urlpatterns = patterns('',
     # (r'^sommitrealweird/', include('sommitrealweird.foo.urls')),
 
     # Uncomment this for admin:
-    (r'^$', 'content.views.document_view', {'slug': 'index'}),
+    (r'^$', 'bpcms.views.document_view', {'slug': 'index'}),
     (r'^admin/', include('django.contrib.admin.urls')),
-    (r'^(?:content/|)(?P<slug>[^/]+)/$', 'content.views.document_view'),
-    (r'^(?:content/|)(?P<folders>.*)/(?P<slug>[^/]+)/$', 'content.views.document_view'),
+    (r'^(?:content/|)(?P<slug>[^/]+)/$', 'bpcms.views.document_view'),
+    (r'^(?:content/|)(?P<folders>.*)/(?P<slug>[^/]+)/$', 'bpcms.views.document_view'),
     (r'^media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': MEDIA_ROOT, 'show_indexes': True}),
 )