From 6f194a22305954381bb66ef8d15c62223ec36380 Mon Sep 17 00:00:00 2001 From: Brett Parker Date: Sat, 2 Feb 2008 15:19:40 +0000 Subject: [PATCH] Updates for rename of content -> bpcms --- sommitrealweird/settings.py | 4 ++-- sommitrealweird/urls.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sommitrealweird/settings.py b/sommitrealweird/settings.py index 3493fa6..aadcaa2 100644 --- a/sommitrealweird/settings.py +++ b/sommitrealweird/settings.py @@ -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', ) 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}), ) -- 2.39.5