This question has been flagged
1 Reply
1977 Views

I mean to say a chunk of code written in controller.py can be used for models.py? its a report for purchase comparison chart. Any  suggestions?

Avatar
Discard
Best Answer

Hello,

Write the output of the controller into a custom model html field, and create a report for that model. 

Avatar
Discard
Author

Thanks for replying. Can u give an example? i'll be very thankful