This commit is contained in:
Sanj 2011-12-08 02:53:41 +05:30
parent fd3a5dffc3
commit 8b6bd22c83

View File

@ -67,7 +67,7 @@ ADMIN_MEDIA_PREFIX = '/media/'
try:
SECRET_KEY
except NameError:
SECRET_FILE = os.path.join(PROJECT_ROOT, 'secret.txt')
SECRET_FILE = os.path.join(PROJECT_PATH, 'secret.txt')
try:
SECRET_KEY = open(SECRET_FILE).read().strip()
except IOError: