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

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

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

View File

@ -35,7 +35,7 @@ Minor features
* :attr:`.ModelAdmin.search_fields` now accepts any lookup such as
``field__exact``.
* jQuery is upgraded from version 2.2.3 to 3.2.1.
* jQuery is upgraded from version 2.2.3 to 3.3.1.
* The new :meth:`.ModelAdmin.delete_queryset` method allows customizing the
deletion process of the "delete selected objects" action.