Advertisement
Guest User

Untitled

a guest
Feb 25th, 2013
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.38 KB | None | 0 0
  1. class TestReport(Report):
  2.     _name = 'testreport.testreport'
  3.  
  4.     def __init__(self):
  5.         super(TestReport, self).__init__()
  6.  
  7.     def parse(self, report, objects, datas, localcontext=None):
  8.         datas['graph'] = [self.generate_graph(objects), 'image/png']
  9.         return super(TestReport, self).parse(report, objects, datas,
  10.                 localcontext=localcontext)
  11.  
  12. [...]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement