From 30083e0780a19c6e7f50c1945d71acef15bbdcdf Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Mon, 20 Apr 2020 11:02:49 +0200 Subject: Fixed #31485 -- Updated admin's jQuery to 3.5.1. --- docs/ref/contrib/admin/index.txt | 6 +++++- docs/releases/3.1.txt | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index e05319034a..89c204c177 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -2147,7 +2147,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.4.1) is namespaced as ``django.jQuery``. If you want to use jQuery +(version 3.5.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. @@ -2155,6 +2155,10 @@ in your own admin JavaScript without including a second copy, you can use the jQuery was upgraded from 3.3.1 to 3.4.1. +.. versionchanged:: 3.1 + + jQuery was upgraded from 3.4.1 to 3.5.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/3.1.txt b/docs/releases/3.1.txt index f821d65449..457565bfac 100644 --- a/docs/releases/3.1.txt +++ b/docs/releases/3.1.txt @@ -79,6 +79,8 @@ Minor features * ``XRegExp`` is upgraded from version 2.0.0 to 3.2.0. +* jQuery is upgraded from version 3.4.1 to 3.5.1. + :mod:`django.contrib.admindocs` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- cgit v1.3