From 4068ca7c23c3e3d2b3880f40a3fd74abc744ebc2 Mon Sep 17 00:00:00 2001 From: Nathan Bills <ndbills@gmail.com> Date: Tue, 22 Apr 2014 21:58:07 -0600 Subject: [PATCH] Updating the main init script. --- project/__init__.py | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/project/__init__.py b/project/__init__.py index ae1797b..0e2b7d7 100644 --- a/project/__init__.py +++ b/project/__init__.py @@ -15,14 +15,15 @@ from flask.ext.mongoengine import MongoEngine from tmdb3 import set_key -app = Flask('project') -app.config['SECRET_KEY'] = 'random' -app.config['MONGODB_SETTINGS'] = {'DB': 'my_movie_library'} -app.config['SMTP_USER'] = "" -app.config['SMTP_PASSWORD'] = "" -app.config['SMTP_SERVER'] = "smtp.gmail.com:587" -app.config['TMDB_API_KEY'] = "" -set_key(app.config['TMDB_API_KEY']) +app = Flask('project') +app.config['SECRET_KEY'] = 'random' +app.config['MONGODB_SETTINGS'] = {'DB': 'my_movie_library'} +app.config['SMTP_USER'] = "" +app.config['SMTP_PASSWORD'] = "" +app.config['SMTP_SERVER'] = "smtp.gmail.com:587" +app.config['TMDB_API_KEY'] = "" + +set_key(app.config['TMDB_API_KEY']) # app.config["MONGODB_SETTINGS"] = {'DB': "my_movie_library", # 'host': '192.168.1.89'} -- GitLab