Fixed #29401 -- Updated admin's jQuery to 3.3.1.

This commit is contained in:
T N 2018-05-14 02:02:24 +09:00 committed by Tim Graham
parent d65b0f72de
commit 2405833c53
4 changed files with 460 additions and 351 deletions

View file

@ -2115,13 +2115,13 @@ jQuery
Django admin JavaScript makes use of the `jQuery`_ library.
To avoid conflicts with user-supplied scripts or libraries, Django's jQuery
(version 3.2.1) is namespaced as ``django.jQuery``. If you want to use jQuery
(version 3.3.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:: 2.1
jQuery was upgraded from 2.2.3 to 3.2.1.
jQuery was upgraded from 2.2.3 to 3.3.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