summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2023-01-04 11:28:09 +0100
committerGitHub <noreply@github.com>2023-01-04 11:28:09 +0100
commit5cf9ff970e08b10d3f7d62734dbce9e8eaeff453 (patch)
treee9cb81e41e36e2c920cf2d16d219018ac153dbc6 /docs/ref
parent8d67e16493c903adc9d049141028bc0fff43f8c8 (diff)
Fixed #33961 -- Updated admin's jQuery to 3.6.3.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/contrib/admin/index.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt
index 9303f17626..28a874b602 100644
--- a/docs/ref/contrib/admin/index.txt
+++ b/docs/ref/contrib/admin/index.txt
@@ -2064,13 +2064,17 @@ jQuery
Django admin JavaScript makes use of the `jQuery`_ library.
To avoid conflicts with user-supplied scripts or libraries, Django's jQuery
-(version 3.6.0) is namespaced as ``django.jQuery``. If you want to use jQuery
+(version 3.6.3) is namespaced as ``django.jQuery``. If you want to use jQuery
in your own admin JavaScript without including a second copy, you can use the
``django.jQuery`` object on changelist and add/edit views. Also, your own admin
forms or widgets depending on ``django.jQuery`` must specify
``js=['admin/js/jquery.init.js', …]`` when :ref:`declaring form media assets
<assets-as-a-static-definition>`.
+.. versionchanged:: 4.2
+
+ jQuery was upgraded from 3.6.0 to 3.6.3.
+
The :class:`ModelAdmin` class requires jQuery by default, so there is no need
to add jQuery to your ``ModelAdmin``’s list of media resources unless you have
a specific need. For example, if you require the jQuery library to be in the