I have developed an application using Django and everything is working fine but I don't know what's going on behind the scenes. I would like to know:
- How many times the database is being hit for each request?
- What was the execution time for each query?
- How long it took to render the template?
- Regular profiling info (ncalls, tottime per function).
Is there a Middleware to handle this that I could install? Which are the best practices to profile my views?
Thanks