added secret key
This commit is contained in:
parent
e35acb0cdf
commit
99b4c6b5df
2 changed files with 5 additions and 1 deletions
|
@ -13,6 +13,9 @@ LANGUAGE_CODE = 'en'
|
|||
|
||||
SITE_ID = 1
|
||||
|
||||
assert 'SECRET_KEY' in os.environ, 'Set SECRET_KEY in your .env file!'
|
||||
SECRET_KEY = os.environ['SECRET_KEY']
|
||||
|
||||
USE_L10N = USE_I18N = False
|
||||
|
||||
MEDIA_ROOT = os.path.join(PROJECT_DIR, 'media')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue