Set session key for PDC.
This commit is contained in:
parent
440f270f4b
commit
53c3ca1269
1 changed files with 6 additions and 0 deletions
|
@ -69,6 +69,12 @@ import os.path
|
|||
|
||||
BASE_DIR = os.path.dirname(os.path.dirname(__file__))
|
||||
|
||||
{% if env == 'staging' %}
|
||||
SECRET_KEY = '{{ pdc_secret_key_stg }}'
|
||||
{% else %}
|
||||
SECRET_KEY = '{{ pdc_secret_key_prod }}'
|
||||
{% endif %}
|
||||
|
||||
DEBUG = False
|
||||
|
||||
# NOTE: this is needed when DEGUB is False.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue