diff options
author | etienne <etienne@9215b0d5-fb2c-4bbd-8d3e-bd2e9090e864> | 2009-01-23 22:34:35 +0000 |
---|---|---|
committer | etienne <etienne@9215b0d5-fb2c-4bbd-8d3e-bd2e9090e864> | 2009-01-23 22:34:35 +0000 |
commit | ccea45fa5494a2a89b99e0a222c16ee897884b09 (patch) | |
tree | 5bb7708cec5051ee370989c1b053a6d58459b95f /settings.py | |
parent | a8bdd41fd72ec1bfd4d1632274f0bc30e57fb00c (diff) | |
download | Chimère-ccea45fa5494a2a89b99e0a222c16ee897884b09.tar.bz2 Chimère-ccea45fa5494a2a89b99e0a222c16ee897884b09.zip |
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
Diffstat (limited to 'settings.py')
-rw-r--r-- | settings.py | 8 |
1 files changed, 5 insertions, 3 deletions
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!' |