summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/csrf_tests/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/csrf_tests/tests.py b/tests/csrf_tests/tests.py
index 87e5453dbd..9407221cd1 100644
--- a/tests/csrf_tests/tests.py
+++ b/tests/csrf_tests/tests.py
@@ -857,7 +857,7 @@ class CsrfViewMiddlewareTestMixin(CsrfFunctionTestMixin):
"""
ensure_csrf_cookie() doesn't log warnings (#19436).
"""
- with self.assertNoLogs("django.request", "WARNING"):
+ with self.assertNoLogs("django.security.csrf", "WARNING"):
req = self._get_request()
ensure_csrf_cookie_view(req)