Read secret key from environment
This commit is contained in:
parent
63cc667b8a
commit
f60f944103
1 changed files with 4 additions and 0 deletions
|
|
@ -1,3 +1,5 @@
|
|||
import os
|
||||
|
||||
from .base import *
|
||||
|
||||
|
||||
|
|
@ -18,3 +20,5 @@ MEDIA_ROOT = "/srv/www/beer.gwairfelin.com/media"
|
|||
|
||||
SESSION_COOKIE_SECURE = True
|
||||
CSRF_COOKIE_SECURE = True
|
||||
|
||||
SECRET_KEY = os.environ.get("REINHEIT_SECRET_KEY")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue