mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #30997 -- Deprecated HttpRequest.is_ajax().
This commit is contained in:
committed by
Mariusz Felisiak
parent
7fa0fa45c5
commit
e348ab0d43
@@ -609,7 +609,7 @@ Django 1.4 also includes several smaller improvements worth noting:
|
||||
* 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.)
|
||||
(``is_ajax()`` is used for this.)
|
||||
|
||||
Like its HTML counterpart, it contains a collection of different
|
||||
pieces of information about the state of the application.
|
||||
|
||||
Reference in New Issue
Block a user