mirror of
https://github.com/YunoHost/tartiflette.git
synced 2024-09-03 20:06:08 +02:00
Don't autoflush/autocommit ?
This commit is contained in:
parent
e02edd2ee6
commit
b55ffb6f31
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
from flask import Flask
|
from flask import Flask
|
||||||
from flask_sqlalchemy import SQLAlchemy
|
from flask_sqlalchemy import SQLAlchemy
|
||||||
|
|
||||||
db = SQLAlchemy()
|
db = SQLAlchemy(session_options={"autoflush": False, "autocommit": False, "expire_on_commit": False})
|
||||||
|
|
||||||
def create_app():
|
def create_app():
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue