summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2012-03-10 18:54:18 +0100
committerÉtienne Loks <etienne.loks@peacefrogs.net>2012-03-10 18:54:18 +0100
commitb4ee429a764458d050a136a976b78de3827608f8 (patch)
tree405320641b632658195d772fd64764ff7215f183
parent0b06bbb3eab50d54609cdb6c43814ef31928950b (diff)
downloadChimère-b4ee429a764458d050a136a976b78de3827608f8.tar.bz2
Chimère-b4ee429a764458d050a136a976b78de3827608f8.zip
Correct bad parameters
-rw-r--r--settings.py.example7
1 files changed, 4 insertions, 3 deletions
diff --git a/settings.py.example b/settings.py.example
index 947d46b..bac0369 100644
--- a/settings.py.example
+++ b/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 = (