In from prerep import models In rs models PrettyReport objects all In

1
2
3
4
5
6
7
8
9
In [1]: from prerep import models
In [2]: rs = models.PrettyReport.objects.all()
In [3]: rs[0].payloads.all()
Out[3]: [<ReportPayload: 1274453495 txt>, <ReportPayload: 1604294530 rtf>]
In [4]: _[1].content
Out[4]: u'Zm9v'