]> git.sommitrealweird.co.uk Git - sommitrealweird.git/commitdiff
Updates for rename of content -> bpcms
authorBrett Parker <iDunno@sommitrealweird.co.uk>
Sat, 2 Feb 2008 15:19:40 +0000 (15:19 +0000)
committerBrett Parker <iDunno@sommitrealweird.co.uk>
Sat, 2 Feb 2008 15:19:40 +0000 (15:19 +0000)
sommitrealweird/settings.py
sommitrealweird/urls.py

index 3493fa64141683cea3dce6e61c9322d054129d05..aadcaa2f76f746161bd893336422691458bb52ed 100644 (file)
@@ -81,7 +81,7 @@ INSTALLED_APPS = (
     'django.contrib.sites',
     'django.contrib.admin',
     'django.contrib.markup',
-    'content',
+    'bpcms',
     'generic',
 )
 
@@ -90,5 +90,5 @@ TEMPLATE_CONTEXT_PROCESSORS = (
     'django.core.context_processors.debug',
     'django.core.context_processors.i18n',
     'generic.context_processors.media',
-    'content.context_processors.content_menu',
+    'bpcms.context_processors.content_menu',
 )
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}),
 )