From e29d5eb33c843ee5f70066d954344bd4f86a426f Mon Sep 17 00:00:00 2001 From: mm Date: Sat, 18 Mar 2023 22:50:14 +0000 Subject: [PATCH] Add 'app/config.py' --- app/config.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 app/config.py diff --git a/app/config.py b/app/config.py new file mode 100644 index 0000000..6e407d2 --- /dev/null +++ b/app/config.py @@ -0,0 +1,5 @@ +import os + +SECRET_KEY = os.environ.get('SECRET_KEY') or 'mysecretkey' +SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL') or 'postgresql://user:password@localhost/dbname' +SQLALCHEMY_TRACK_MODIFICATIONS = False