I'm working with postgresql database via django. Currently I am trying to create an Invoice pdf with a jasper template. For that I wrote a .py file that creates an invoice class with a self.data query that contains fields and datasets that I would like to pass on to fill the jasper template.
My problem is that I dont know how to pass on this self.data query.
I am very new to all of this so I would also like to know what kind of data adapter I need to choose in jaspersoft studio.
Thanks in advance!
(Just if you are wondering, I do not want to connect the report to the sql database. Just pass on the data from the .py file)