From 3b1773b25909e2713fedae947898a60cdb87acb3 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Wed, 9 Feb 2011 09:58:29 +0100 Subject: redirect mojj --- meetingtools/settings.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/meetingtools/settings.py b/meetingtools/settings.py index baea5ce..ab5f1ac 100644 --- a/meetingtools/settings.py +++ b/meetingtools/settings.py @@ -53,9 +53,10 @@ USE_I18N = True USE_L10N = True MEDIA_ROOT = "%s/site-media" % BASE_DIR -ADMIN_MEDIA_ROOT = "/usr/lib/pymodules/python2.5/django/contrib/admin/media" -MEDIA_URL = '/site-media/' -ADMIN_MEDIA_PREFIX = '/admin-media/' +ADMIN_MEDIA_ROOT = "%s/admin-media" % BASE_DIR +MEDIA_URL = '%s/site-media/' % PREFIX_URL +ADMIN_MEDIA_PREFIX = '%/admin-media/' % PREFIX_URL + LOGIN_URL = "%s/accounts/login/" % PREFIX_URL LOGOUT_URL = "%s/accounts/logout/" % PREFIX_URL -- cgit v1.1