On Mon, 2006-07-17 at 18:44 -0700, Scott Chapman wrote: [...] > p.s. Any chance this could be added to the Admin interface. It's the > intuitive place for such things.
Not a good idea. It's a security hole. You would be able to see every query people run just because you can log into admin -- and those two access levels are not equivalent. If you want to view queries from the command line, you already have permission to connect to the database (since you are allowed to run a terminal and execute the django app and read the settings file, so the database access permissions follow). Also, the query cache is per-request, not forever. So it gets cleaned out between web page requests (otherwise you wouldn't just see one or two people noticing massive memory usage; we'd all see it after testing for an hour or two). Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---

