From 06372a8d274d5a03f72078180ea355b9c7434fb1 Mon Sep 17 00:00:00 2001 From: Dulmandakh Date: Fri, 24 May 2019 21:41:19 +0800 Subject: Fixed #30507 -- Updated admin's jQuery to 3.4.1. --- docs/ref/contrib/admin/index.txt | 6 +++++- docs/releases/3.0.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 9946fe65ee..45bf9f3b48 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -2129,10 +2129,14 @@ jQuery Django admin JavaScript makes use of the `jQuery`_ library. To avoid conflicts with user-supplied scripts or libraries, Django's jQuery -(version 3.3.1) is namespaced as ``django.jQuery``. If you want to use jQuery +(version 3.4.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. +.. versionchanged:: 3.0 + + jQuery was upgraded from 3.3.1 to 3.4.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.0.txt b/docs/releases/3.0.txt index 9489a38ca7..b9afc2ad59 100644 --- a/docs/releases/3.0.txt +++ b/docs/releases/3.0.txt @@ -89,6 +89,8 @@ Minor features * Select2 library is upgraded from version 4.0.3 to 4.0.7. +* jQuery is upgraded from version 3.3.1 to 3.4.1. + :mod:`django.contrib.admindocs` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- cgit v1.3