Skip to content
This repository has been archived by the owner on Feb 27, 2019. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
a-liut committed Nov 27, 2018
2 parents 41384b1 + 101f1e6 commit 542d258
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions dataservice/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
from dataservice.database import db
from dataservice.views import blueprints

# This definition of the creation of the app is from flakon
# it is important for allowing the recognition of yaml file

def create_app():
app = Flask(__name__)

Expand All @@ -15,9 +14,6 @@ def create_app():
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///dataservice.db'
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False

# Create the SqlAlchemy db instance
db = SQLAlchemy(app)

# Register blueprints
for blueprint in blueprints:
app.register_blueprint(blueprint)
Expand Down

0 comments on commit 542d258

Please sign in to comment.