I would like to include the following values on my admin pages, as part of the base_site: time_to_query_database time_to_render_page
Is there code I can draw from to accomplish this? Or do I need to code it myself? Are there built-in methods in Django for timing database queries to help users optimize queries? I'm impressed with Django's ORM, but working with a small number of items I am starting to get disappointed with the speed of the queries. For example, I have 61 objects in a Location model and about 300 objects in a Person model. If I try to render a view that lists the id of each person in each location, it seems to take several seconds. I think this is probably my fault, so I want to try to improve the efficiency of my queries and a timer would really help. Does anyone think that Django templates should always be replaced with something else if speed is an issue? I have heard that Jinja is faster, but I'm not sure how much faster. Thanks for your time. -Tim -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.