Created
October 12, 2016 15:04
-
-
Save aq1/fe534bddb7187207a9e4d7889ec0bf56 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in db.SESSION.query(db.Item).all(): | |
for t in db.SESSION.query(db.Template).filter_by(item_id=i.id): | |
self._show(i, t) | |
self.save(event=None) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment