ups
This commit is contained in:
parent
fd3a5dffc3
commit
8b6bd22c83
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue