Browse Source

flaskr correct app name

pull/2340/head
David Lord 8 years ago
parent
commit
11f463f1bd
No known key found for this signature in database
GPG Key ID: 7A1C87E3F5BC42A8
  1. 2
      examples/flaskr/flaskr/factory.py

2
examples/flaskr/flaskr/factory.py

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

Loading…
Cancel
Save