diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-10-05 01:30:14 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2014-10-05 01:30:14 +0200 |
commit | 99f748ed7f445c5dfb019b6327d119e08f00cad4 (patch) | |
tree | 6310abef82613afc1fa6b23b4a3855a4e519f1eb /app/__init__.py | |
parent | 571976cb2780ab0272b95b05bff860a3b8f04cc9 (diff) | |
download | tbt-99f748ed7f445c5dfb019b6327d119e08f00cad4.tar.xz |
all of this should be squashed later.. at least most of it works now, I
think... I should add some tests probably.
Diffstat (limited to 'app/__init__.py')
-rw-r--r-- | app/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/__init__.py b/app/__init__.py index d698823..af83e2c 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -3,7 +3,7 @@ from flask.ext.sqlalchemy import SQLAlchemy app = Flask(__name__) app.config.from_object('config') -app.secret_key = 'SUPERSEEKRITKEY' +app.secret_key = app.config['SECRET_KEY'] db = SQLAlchemy(app) from app import views, models |