I was comparing an old PHP script of mine versus the newer, fancier Django version and the PHP one, with full spitting out of HTML and all was functioning faster. MUCH faster to
In such a scenario the database is often the bottleneck. Also, using an ORM might result in sub-optimal SQL queries.
As some pointed out it's not possible to tell what the probem really is, just with the information you provided.
I just can give you some general advice:
PS: Just fyi, I had once a fairly simple view which was very slow. After installing the Debug Footer Middleware I saw that around 500! sql queries were executed in that single view. Just using select_related() brought that down to 5 queries and the view performed as expected.