Ticket #677: sql_queries_reset_fix.diff

File sql_queries_reset_fix.diff, 562 bytes (added by seancazzell@…, 19 years ago)
  • django/core/handlers/base.py

     
    4848        from django.core.mail import mail_admins
    4949        from django.conf.settings import DEBUG, INTERNAL_IPS, ROOT_URLCONF
    5050
     51        # Reset per-request query log
     52        db.db.queries = []
     53
    5154        # Apply request middleware
    5255        for middleware_method in self._request_middleware:
    5356            response = middleware_method(request)
Back to Top