set example app names directly

This commit is contained in:
David Lord 2017-05-27 12:47:33 -07:00
parent 135f85a191
commit 6a8c8c3484
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
3 changed files with 4 additions and 4 deletions

View file

@ -17,7 +17,7 @@ from flaskr.blueprints.flaskr import init_db
def create_app(config=None):
app = Flask(__name__.split('.')[0])
app = Flask('flaskr')
app.config.update(dict(
DATABASE=os.path.join(app.root_path, 'flaskr.db'),