X-Git-Url: https://git.sommitrealweird.co.uk/sommitrealweird.git/blobdiff_plain/a2883504e45a556b06e76f023395e879e01ae03c..66e84bbddc80e7f3ac04da6433a70da7da97698b:/sommitrealweird/urls.py?ds=sidebyside diff --git a/sommitrealweird/urls.py b/sommitrealweird/urls.py index 3cdfc7f..39adc87 100644 --- a/sommitrealweird/urls.py +++ b/sommitrealweird/urls.py @@ -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[^/]+)/$', 'content.views.document_view'), - (r'^(?:content/|)(?P.*)/(?P[^/]+)/$', 'content.views.document_view'), + (r'^(?:content/|)(?P[^/]+)/$', 'bpcms.views.document_view'), + (r'^(?:content/|)(?P.*)/(?P[^/]+)/$', 'bpcms.views.document_view'), (r'^media/(?P.*)$', 'django.views.static.serve', {'document_root': MEDIA_ROOT, 'show_indexes': True}), )