This commit is contained in:
Alexandre Aubin 2018-01-30 13:43:37 -05:00
commit 58c30f5b79

View file

@ -1,7 +1,7 @@
from flask import Flask
from flask_sqlalchemy import SQLAlchemy
db = SQLAlchemy()
db = SQLAlchemy(session_options={"autoflush": False, "autocommit": False, "expire_on_commit": False})
def create_app():