summaryrefslogtreecommitdiff
path: root/example_project/settings.py.example
diff options
context:
space:
mode:
Diffstat (limited to 'example_project/settings.py.example')
-rw-r--r--example_project/settings.py.example7
1 files changed, 4 insertions, 3 deletions
diff --git a/example_project/settings.py.example b/example_project/settings.py.example
index 947d46b..bac0369 100644
--- a/example_project/settings.py.example
+++ b/example_project/settings.py.example
@@ -11,7 +11,8 @@ SERVER_URL = 'http://www.mydomain.com/'
EXTRA_URL = 'chimere/'
BASE_URL = SERVER_URL + EXTRA_URL
EMAIL_HOST = 'localhost'
-STATIC_URL = '/static/'
+STATIC_URL = '/' + EXTRA_URL + 'staticfiles/'
+STATIC_ROOT = ROOT_PATH + 'static/'
TINYMCE_URL = '/tinymce/'
JQUERY_JS_URLS = ('/javascript/jquery/jquery.js',
@@ -108,11 +109,11 @@ USE_L10N = True
# Absolute path to the directory that holds media.
# Example: "/home/media/media.lawrence.com/"
-MEDIA_ROOT = ROOT_PATH + 'static/'
+MEDIA_ROOT = ROOT_PATH + 'media/'
# URL that handles the media served from MEDIA_ROOT.
# Example: "http://media.lawrence.com"
-MEDIA_URL = '/' + EXTRA_URL + 'static/'
+MEDIA_URL = '/' + EXTRA_URL + 'media/'
# share with
SHARE_NETWORKS = (