summaryrefslogtreecommitdiff
path: root/archivist/peewee_ext.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2017-03-12 13:42:28 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2017-03-12 13:42:28 +0100
commit55a9927413f826d3d9dfb68a058d59163f94a8ca (patch)
treeff36ed38f0f0dcba6caa398d622553ae4bba23cd /archivist/peewee_ext.py
parent01a80c04fa72da63e6cd4f1973d299479fbe5566 (diff)
downloadarchivist-55a9927413f826d3d9dfb68a058d59163f94a8ca.tar.gz
archivist-55a9927413f826d3d9dfb68a058d59163f94a8ca.tar.bz2
archivist-55a9927413f826d3d9dfb68a058d59163f94a8ca.zip
Fix handling of composite pks in peewee.
Diffstat (limited to '')
-rw-r--r--archivist/peewee_ext.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/archivist/peewee_ext.py b/archivist/peewee_ext.py
index f835dc3..40fe5e7 100644
--- a/archivist/peewee_ext.py
+++ b/archivist/peewee_ext.py
@@ -1,5 +1,4 @@
-from playhouse.sqlite_ext import VirtualModel, VirtualIntegerField, VirtualCharField
-from peewee import Field, OP, DJANGO_MAP, ForeignKeyField, ReverseRelationDescriptor, Expression, Query
+from peewee import Field
from itertools import starmap
from functools import reduce