# HG changeset patch # User ymh # Date 1288020296 -7200 # Node ID 7e86fb14be1fab49725f76ba5e159255e9086afa # Parent 7984d3785560908c8798f5fd6b73ad6ff4598aed correct template diff -r 7984d3785560 -r 7e86fb14be1f web/franceculture/config.py.tmpl --- a/web/franceculture/config.py.tmpl Wed Oct 20 17:28:09 2010 +0200 +++ b/web/franceculture/config.py.tmpl Mon Oct 25 17:24:56 2010 +0200 @@ -2,7 +2,7 @@ SITE_ID = 1 -BASE_DIR = os.path.dirname(os.path.abspath(__file__)).lstrip("/")+"/" +BASE_DIR = os.path.dirname(os.path.abspath(__file__)).rstrip("/")+"/" BASE_URL = '/~ymh/franceculture/' WEB_URL = 'http://localhost/' MEDIA_BASE_URL = BASE_URL + 'static/' @@ -46,7 +46,7 @@ DEBUG = True TEMPLATE_DEBUG = DEBUG -LOG_FILE = os.path.join(BASE_DIR,"../log/log.txt") +LOG_FILE = os.path.abspath(os.path.join(BASE_DIR,"../log/log.txt")) LOG_LEVEL = logging.DEBUG INDEX_PATH = os.path.abspath(BASE_DIR + "../index/")