None of the queries are bounded, this impacts on the performance of the site.
1d001145096082f7d10e66fde8a1fa1706f515c9 Move the filtering, queries and ordering to use the orm functions - Rewrite the main views so that all the data manipulation is done in the database rather than in python. This was causing large performance
Verified.