summaryrefslogtreecommitdiff
path: root/example_project
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2012-03-10 12:31:58 +0100
committerÉtienne Loks <etienne.loks@peacefrogs.net>2012-03-10 12:31:58 +0100
commit59e9dca55e26b4ea8bd0a52717676c3c794cac5f (patch)
tree30fa3aeaef93ea211f6b9104f3b3acb51a55c533 /example_project
parent0162c3264015286b3d8972df066f5f8eb9431a86 (diff)
downloadChimère-59e9dca55e26b4ea8bd0a52717676c3c794cac5f.tar.bz2
Chimère-59e9dca55e26b4ea8bd0a52717676c3c794cac5f.zip
Update documentationv2.0-alpha1
Diffstat (limited to 'example_project')
-rw-r--r--example_project/settings.py.example3
1 files changed, 2 insertions, 1 deletions
diff --git a/example_project/settings.py.example b/example_project/settings.py.example
index 908dbe1..947d46b 100644
--- a/example_project/settings.py.example
+++ b/example_project/settings.py.example
@@ -129,7 +129,8 @@ SHARE_NETWORKS = (
# 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 = '/' + EXTRA_URL + '/admin-media/'
+ADMIN_MEDIA_PREFIX = '/' if EXTRA_URL else ''
+ADMIN_MEDIA_PREFIX += EXTRA_URL + '/admin-media/'
# Make this unique, and don't share it with anybody.
SECRET_KEY = 'achanger_!ToChange!'