summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRamiro Morales <cramm0@gmail.com>2011-10-02 02:53:58 +0000
committerRamiro Morales <cramm0@gmail.com>2011-10-02 02:53:58 +0000
commit0d9b6a5bc43c06716212bd3f847460ce985381aa (patch)
treefc5af292878702e9a87e62051dbad927ecf798c3 /docs
parent28ee7a9df3db9b4edf2deaf7d9dca2ca304bc193 (diff)
Fixed #10841 -- Switched response served when DEBUG=True and request.is_ajax() returns True (indicating request has been generated by a JS library) to a plain text version for easier debugging.
Contents of this response are similar to its HTML counterpart modulo frame variables values in the Python traceback section. Thanks to Riz for the report, to SmileyChris for the patch and to Julien for reviewing. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16921 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/1.4.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/releases/1.4.txt b/docs/releases/1.4.txt
index cd3609421c..89e1fc11ac 100644
--- a/docs/releases/1.4.txt
+++ b/docs/releases/1.4.txt
@@ -339,6 +339,17 @@ Django 1.4 also includes several smaller improvements worth noting:
be able to retrieve a translation string without displaying it but setting
a template context variable instead.
+* A new plain text version of the HTTP 500 status code internal error page
+ served when :setting:`DEBUG` is ``True`` is now sent to the client when
+ Django detects that the request has originated in JavaScript code
+ (:meth:`~django.http.HttpRequest.is_ajax` is used for this).
+
+ Similarly to its HTML counterpart, it contains a collection of different
+ pieces of information about the state of the web application.
+
+ This should make it easier to read when debugging interaction with
+ client-side Javascript code.
+
.. _backwards-incompatible-changes-1.4:
Backwards incompatible changes in 1.4