Fixed #28956 -- Updated admin's jQuery to 3.2.1.

This commit is contained in:
Tim Graham 2017-12-21 15:07:17 -05:00
parent 0fc4b1f31f
commit 6deaddcca3
4 changed files with 1805 additions and 1388 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -2016,10 +2016,14 @@ jQuery
Django admin JavaScript makes use of the `jQuery`_ library.
To avoid conflicts with user-supplied scripts or libraries, Django's jQuery
(version 2.2.3) is namespaced as ``django.jQuery``. If you want to use jQuery
(version 3.2.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.
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

View File

@ -35,6 +35,8 @@ 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.
:mod:`django.contrib.admindocs`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~