summaryrefslogtreecommitdiff
path: root/papillon/settings.py.tpl
diff options
context:
space:
mode:
authorÉtienne Loks2011-10-25 03:27:35 +0200
committerÉtienne Loks2011-10-25 03:27:35 +0200
commit0d930f95701fbbc9b5b7fb9bc28c3a664a600f9a (patch)
treea8626b155044fddd21933626b1b6a052e7b9ad48 /papillon/settings.py.tpl
parent023f8571e1386a08e25d779252c221ca939d1f1d (diff)
Correct last references to BASE_SITE (refs #309) - Change documentation to ReST - Use Sphinx for documentation
Diffstat (limited to 'papillon/settings.py.tpl')
-rw-r--r--papillon/settings.py.tpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/papillon/settings.py.tpl b/papillon/settings.py.tpl
index f83dcb2..cecfb45 100644
--- a/papillon/settings.py.tpl
+++ b/papillon/settings.py.tpl
@@ -9,9 +9,7 @@ TEMPLATE_DEBUG = DEBUG
import os.path
PROJECT_PATH = os.path.dirname(os.path.abspath(__file__))
-SERVER_URL = 'http://localhost/'
EXTRA_URL = 'papillon/'
-BASE_SITE = SERVER_URL + EXTRA_URL
TINYMCE_URL = 'http://localhost/tinymce/'
MAX_COMMENT_NB = 10 # max number of comments by poll - 0 to disable comments
@@ -62,12 +60,14 @@ MEDIA_ROOT = PROJECT_PATH + '/static/'
# URL that handles the media served from MEDIA_ROOT.
# Example: "http://media.lawrence.com"
-MEDIA_URL = BASE_SITE + 'static/'
+# if you have set an EXTRA_URL set the full path
+MEDIA_URL = '/static/'
# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
# trailing slash.
# Examples: "http://foo.com/media/", "/media/".
-ADMIN_MEDIA_PREFIX = BASE_SITE + 'media/'
+# if you have set an EXTRA_URL set the full path
+ADMIN_MEDIA_PREFIX = '/media/'
# Make this unique, and don't share it with anybody.
SECRET_KEY = 'replace_this_with_something_else'