]> err.no Git - dak/commit
Carefully add a backref from PoolFile to Location.
authorTorsten Werner <twerner@debian.org>
Tue, 18 Jan 2011 21:05:03 +0000 (22:05 +0100)
committerTorsten Werner <twerner@debian.org>
Tue, 18 Jan 2011 21:05:03 +0000 (22:05 +0100)
commit0033592f3a939316a8e6946d4f05df04a6e0a774
tree39bd38568e575bae810123e1f00b056b4892d3c5
parentd6fb77d2760192195245e87d6f60a418c465d0b1
Carefully add a backref from PoolFile to Location.

Using lazy='dynamic' makes sure that property Location.files is not a very huge
list but a query object that can be iterated or .filter()-ed.

Signed-off-by: Torsten Werner <twerner@debian.org>
daklib/dbconn.py