ups
This commit is contained in:
parent
fd3a5dffc3
commit
8b6bd22c83
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user