Kaydet (Commit) 6deaddcc authored tarafından Tim Graham's avatar Tim Graham

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

üst 0fc4b1f3
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -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
......
......@@ -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`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment