From dbbcfca476e29354c3a5c6221112b55741babc14 Mon Sep 17 00:00:00 2001 From: Anubhav Joshi Date: Tue, 24 Jun 2014 09:43:34 +0530 Subject: Fixed #21668 -- Return detailed error page when SuspiciousOperation is raised and DEBUG=True Thanks GDorn and gox21 for report. Thanks Tim Graham for idea and review. --- docs/releases/1.8.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') diff --git a/docs/releases/1.8.txt b/docs/releases/1.8.txt index ce9d35795c..3fd8b64e93 100644 --- a/docs/releases/1.8.txt +++ b/docs/releases/1.8.txt @@ -211,6 +211,10 @@ Requests and Responses ` method now handles paths starting with ``//`` correctly. +* If :setting:`DEBUG` is ``True`` and a request raises a + :exc:`~django.core.exceptions.SuspiciousOperation`, the response will be + rendered with a detailed error page. + Tests ^^^^^ -- cgit v1.3