blob: 6ae3833ec7e015d2726b387e5af1246b7124d80d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import config
import constants
{% if env == 'staging' %}
SQLALCHEMY_DATABASE_URI = 'postgres://{{modernpaste_stg_db_user}}:{{modernpaste_stg_db_password}}@db01/modernpaste'
{% else %}
SQLALCHEMY_DATABASE_URI = 'postgres://{{modernpaste_db_user}}:{{modernpaste_db_password}}@db01/modernpaste'
{% endif %}
SQLALCHEMY_TRACK_MODIFICATIONS = False
# Flask session secret key
SECRET_KEY = config.FLASK_SECRET_KEY
|