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