Ticket #677: sql_queries_reset_fix.diff
File sql_queries_reset_fix.diff, 562 bytes (added by , 19 years ago) |
---|
-
django/core/handlers/base.py
48 48 from django.core.mail import mail_admins 49 49 from django.conf.settings import DEBUG, INTERNAL_IPS, ROOT_URLCONF 50 50 51 # Reset per-request query log 52 db.db.queries = [] 53 51 54 # Apply request middleware 52 55 for middleware_method in self._request_middleware: 53 56 response = middleware_method(request)