summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAnubhav Joshi <anubhav9042@gmail.com>2014-06-24 09:43:34 +0530
committerTim Graham <timograham@gmail.com>2014-06-24 08:55:36 -0400
commitdbbcfca476e29354c3a5c6221112b55741babc14 (patch)
tree082c8c716f28a8ac41d50ec89c3d76da12bf964b /docs
parent150d88cc2c0866ef65f077387e3e560e9c9c3f80 (diff)
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.
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/1.8.txt4
1 files changed, 4 insertions, 0 deletions
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
<django.http.HttpRequest.build_absolute_uri>` 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
^^^^^