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: try:
SECRET_KEY SECRET_KEY
except NameError: except NameError:
SECRET_FILE = os.path.join(PROJECT_ROOT, 'secret.txt') SECRET_FILE = os.path.join(PROJECT_PATH, 'secret.txt')
try: try:
SECRET_KEY = open(SECRET_FILE).read().strip() SECRET_KEY = open(SECRET_FILE).read().strip()
except IOError: except IOError: