mirror of https://github.com/django/django.git
Fixed #29401 -- Updated admin's jQuery to 3.3.1.
This commit is contained in:
parent
d65b0f72de
commit
2405833c53
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -2115,13 +2115,13 @@ jQuery
|
||||||
Django admin JavaScript makes use of the `jQuery`_ library.
|
Django admin JavaScript makes use of the `jQuery`_ library.
|
||||||
|
|
||||||
To avoid conflicts with user-supplied scripts or libraries, Django's jQuery
|
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
|
in your own admin JavaScript without including a second copy, you can use the
|
||||||
``django.jQuery`` object on changelist and add/edit views.
|
``django.jQuery`` object on changelist and add/edit views.
|
||||||
|
|
||||||
.. versionchanged:: 2.1
|
.. 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
|
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
|
to add jQuery to your ``ModelAdmin``’s list of media resources unless you have
|
||||||
|
|
|
@ -35,7 +35,7 @@ Minor features
|
||||||
* :attr:`.ModelAdmin.search_fields` now accepts any lookup such as
|
* :attr:`.ModelAdmin.search_fields` now accepts any lookup such as
|
||||||
``field__exact``.
|
``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
|
* The new :meth:`.ModelAdmin.delete_queryset` method allows customizing the
|
||||||
deletion process of the "delete selected objects" action.
|
deletion process of the "delete selected objects" action.
|
||||||
|
|
Loading…
Reference in New Issue