mirror of
https://github.com/django/django.git
synced 2025-03-31 19:46:42 +00:00
Updated admin's jQuery to 2.2.3.
This commit is contained in:
parent
ed0ff913c6
commit
c999c8d8f6
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@ -1922,16 +1922,20 @@ 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 2.1.4) is namespaced as ``django.jQuery``. If you want to use jQuery
|
(version 2.2.3) 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:: 1.9
|
.. versionchanged:: 1.9
|
||||||
|
|
||||||
The embedded jQuery has been upgraded from 1.11.2 to 2.1.4. This drops
|
The embedded jQuery was upgraded from 1.11.2 to 2.1.4. This drops
|
||||||
support for Internet Explorer 8 and below. You can restore support by
|
support for Internet Explorer 8 and below. You can restore support by
|
||||||
:ref:`including your own version of jQuery 1.X <admin-browser-support-19>`.
|
:ref:`including your own version of jQuery 1.X <admin-browser-support-19>`.
|
||||||
|
|
||||||
|
.. versionchanged:: 1.10
|
||||||
|
|
||||||
|
The embedded jQuery was upgraded from 2.1.4 to 2.2.3.
|
||||||
|
|
||||||
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
|
||||||
a specific need. For example, if you require the jQuery library to be in the
|
a specific need. For example, if you require the jQuery library to be in the
|
||||||
|
@ -89,6 +89,9 @@ Minor features
|
|||||||
* Added "No date" and "Has date" choices for ``DateFieldListFilter`` if the
|
* Added "No date" and "Has date" choices for ``DateFieldListFilter`` if the
|
||||||
field is nullable.
|
field is nullable.
|
||||||
|
|
||||||
|
* The jQuery library embedded in the admin is upgraded from version 2.1.4 to
|
||||||
|
2.2.3.
|
||||||
|
|
||||||
:mod:`django.contrib.admindocs`
|
:mod:`django.contrib.admindocs`
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user