summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2023-09-18 08:54:44 +0200
committerGitHub <noreply@github.com>2023-09-18 08:54:44 +0200
commit190874eadd0c6dcaae0c244cc47e838cf0faf24d (patch)
treea32b2762e53648d15b4540198e8e6e0349173c33 /docs
parent225328efd9814f2e922ee77fb48a3eea7428c397 (diff)
Fixed #34560 -- Updated admin's jQuery to 3.7.1.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/contrib/admin/index.txt6
-rw-r--r--docs/releases/5.0.txt2
2 files changed, 7 insertions, 1 deletions
diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt
index 79345ea3d1..318a6c6ad5 100644
--- a/docs/ref/contrib/admin/index.txt
+++ b/docs/ref/contrib/admin/index.txt
@@ -2135,7 +2135,7 @@ 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.4) is namespaced as ``django.jQuery``. If you want to use jQuery
+(version 3.7.1) 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
@@ -2146,6 +2146,10 @@ forms or widgets depending on ``django.jQuery`` must specify
jQuery was upgraded from 3.6.0 to 3.6.4.
+.. versionchanged:: 5.0
+
+ jQuery was upgraded from 3.6.4 to 3.7.1.
+
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
diff --git a/docs/releases/5.0.txt b/docs/releases/5.0.txt
index ac0dda9feb..6ba9a7a92b 100644
--- a/docs/releases/5.0.txt
+++ b/docs/releases/5.0.txt
@@ -214,6 +214,8 @@ Minor features
* Properties in :attr:`.ModelAdmin.list_display` now support ``boolean``
attribute.
+* jQuery is upgraded from version 3.6.4 to 3.7.1.
+
:mod:`django.contrib.admindocs`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~