diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2017-10-05 18:05:21 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2017-10-05 18:05:21 +0200 |
commit | 9994319ea5c86bad2f88ab737b9b82dfae43cd6a (patch) | |
tree | 92943c5ef789d3be375f630e74040535d01cc37e /archivist/model.py | |
parent | 975b647a3274f299df7260b6597aa88be90a7bb8 (diff) | |
download | archivist-9994319ea5c86bad2f88ab737b9b82dfae43cd6a.tar.gz archivist-9994319ea5c86bad2f88ab737b9b82dfae43cd6a.tar.bz2 archivist-9994319ea5c86bad2f88ab737b9b82dfae43cd6a.zip |
Webservice to create a new tag
Diffstat (limited to 'archivist/model.py')
-rw-r--r-- | archivist/model.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/archivist/model.py b/archivist/model.py index 2d9476a..1544f3f 100644 --- a/archivist/model.py +++ b/archivist/model.py @@ -13,6 +13,7 @@ from .peewee_fixes import * # dummy to force evaluation of those fixes db = SqliteExtDatabase('test.db', pragmas=[('foreign_keys', 'ON')]) db.load_extension(resource_filename(__name__, 'sqlext/closure')) +db.set_autocommit(False) __tables__ = [] __all__ = ['create_tables', 'drop_tables'] |