Created
December 4, 2014 02:42
-
-
Save jdunne-kaplan/7685566093a59912e783 to your computer and use it in GitHub Desktop.
List talkbacks
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
| import models | |
| from lib.talkback import Talkback | |
| tbs = Talkback.query(Talkback.opaque_id == "ec18060e-f4e4-4246-bc29-3f5579611f09").order(-Talkback.created_at).fetch() | |
| for tb in reversed(list(tbs)): | |
| print "" | |
| print tb.submitted_by, tb.created_at | |
| print "Q: " + tb.submission.strip() | |
| if tb.response: | |
| print "A: " + tb.response.strip() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment