From ccea45fa5494a2a89b99e0a222c16ee897884b09 Mon Sep 17 00:00:00 2001 From: etienne Date: Fri, 23 Jan 2009 22:34:35 +0000 Subject: Modification of hard link to manage then in settings. Correction of false submission of route. git-svn-id: http://www.peacefrogs.net/svn/chimere/trunk@26 9215b0d5-fb2c-4bbd-8d3e-bd2e9090e864 --- settings.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'settings.py') diff --git a/settings.py b/settings.py index d8c6204..13f9d24 100644 --- a/settings.py +++ b/settings.py @@ -2,7 +2,9 @@ ROOT_PATH = '/var/local/django/chimere/' -BASE_URL = "http://www.peacefrogs.net/chimere/" +SERVER_URL = "http://www.peacefrogs.net/" +EXTRA_URL = 'chimere/' +BASE_URL = SERVER_URL + EXTRA_URL EMAIL_HOST = 'localhost' # chimere specific @@ -53,12 +55,12 @@ MEDIA_ROOT = ROOT_PATH + 'static/' # URL that handles the media served from MEDIA_ROOT. # Example: "http://media.lawrence.com" -MEDIA_URL = '/chimere/static/' +MEDIA_URL = '/' + EXTRA_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 = '/chimere/media/' +ADMIN_MEDIA_PREFIX = '/' + EXTRA_URL + 'media/' # Make this unique, and don't share it with anybody. SECRET_KEY = 'achanger_!ToChange!' -- cgit v1.2.3