From d80844c1ed1a4f213f16e61d845cad0ccd73b93f Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Tue, 13 Oct 2020 16:56:05 -0500 Subject: [PATCH] Tweak how global DB session is created no need to specify "record changes" flag here --- tailbone/db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tailbone/db.py b/tailbone/db.py index 1cbf61ec..f7b106fe 100644 --- a/tailbone/db.py +++ b/tailbone/db.py @@ -35,7 +35,7 @@ from rattail.db import SessionBase from rattail.db.continuum import versioning_manager -Session = scoped_session(sessionmaker(class_=SessionBase, rattail_config=None, rattail_record_changes=False, expire_on_commit=False)) +Session = scoped_session(sessionmaker(class_=SessionBase, rattail_config=None, expire_on_commit=False)) # not necessarily used, but here if you need it TempmonSession = scoped_session(sessionmaker())