diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2017-03-12 13:42:28 +0100 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2017-03-12 13:42:28 +0100 |
commit | 55a9927413f826d3d9dfb68a058d59163f94a8ca (patch) | |
tree | ff36ed38f0f0dcba6caa398d622553ae4bba23cd /archivist/model.py | |
parent | 01a80c04fa72da63e6cd4f1973d299479fbe5566 (diff) | |
download | archivist-55a9927413f826d3d9dfb68a058d59163f94a8ca.tar.gz archivist-55a9927413f826d3d9dfb68a058d59163f94a8ca.tar.bz2 archivist-55a9927413f826d3d9dfb68a058d59163f94a8ca.zip |
Fix handling of composite pks in peewee.
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 5af743b..4a6a97b 100644 --- a/archivist/model.py +++ b/archivist/model.py @@ -9,6 +9,7 @@ from pkg_resources import resource_filename from .prefixes import query_pseudo_prefix from .peewee_ext import EnumField +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')) |