summaryrefslogtreecommitdiff
path: root/example_project
diff options
context:
space:
mode:
Diffstat (limited to 'example_project')
-rw-r--r--example_project/local_settings.py.sample3
-rw-r--r--example_project/settings.py1
2 files changed, 3 insertions, 1 deletions
diff --git a/example_project/local_settings.py.sample b/example_project/local_settings.py.sample
index 763dcb938..901c7d3a8 100644
--- a/example_project/local_settings.py.sample
+++ b/example_project/local_settings.py.sample
@@ -24,7 +24,8 @@ DATABASES = {
}
ROOT_URLCONF = 'example_project.urls'
-MEDIA_URL = 'http://mydomain/static/'
+STATIC_URL = 'http://mydomain/static/'
+MEDIA_URL = 'http://mydomain/media/'
DEBUG = False
DEBUG_TOOLBAR = False
diff --git a/example_project/settings.py b/example_project/settings.py
index 718c6c31b..983339ee5 100644
--- a/example_project/settings.py
+++ b/example_project/settings.py
@@ -83,6 +83,7 @@ TEMPLATE_CONTEXT_PROCESSORS = (
"django.core.context_processors.debug",
"django.core.context_processors.i18n",
"django.core.context_processors.media",
+ "django.core.context_processors.static",
)
ROOT_URLCONF = 'example_project.urls'