Created
December 15, 2011 18:02
-
-
Save squiddy/1482109 to your computer and use it in GitHub Desktop.
codespeed django 1.2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/example/settings.py b/example/settings.py | |
index 5d6f346..da47af2 100644 | |
--- a/example/settings.py | |
+++ b/example/settings.py | |
@@ -98,7 +98,7 @@ TEMPLATE_CONTEXT_PROCESSORS = ( | |
'django.core.context_processors.debug', | |
'django.core.context_processors.i18n', | |
'django.core.context_processors.media', | |
- 'django.core.context_processors.static', | |
+ 'staticfiles.context_processors.static', | |
'django.core.context_processors.request', | |
) | |
@@ -108,7 +108,7 @@ INSTALLED_APPS = ( | |
'django.contrib.sessions', | |
#'django.contrib.sites', | |
'django.contrib.admin', | |
- 'django.contrib.staticfiles', | |
+ 'staticfiles', | |
'codespeed', | |
'south', | |
'tastypie', | |
diff --git a/example/urls.py b/example/urls.py | |
index 34c3fca..b2d397f 100644 | |
--- a/example/urls.py | |
+++ b/example/urls.py | |
@@ -27,5 +27,5 @@ urlpatterns += patterns( | |
if settings.DEBUG: | |
# needed for development server | |
- from django.contrib.staticfiles.urls import staticfiles_urlpatterns | |
+ from staticfiles.urls import staticfiles_urlpatterns | |
urlpatterns += staticfiles_urlpatterns() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment