mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Fixed #23355 -- Updated admin jQuery to 1.11.1.
This commit is contained in:
parent
50ae4b4b9e
commit
7d62fb5957
4 changed files with 6570 additions and 5854 deletions
|
@ -1823,10 +1823,14 @@ jQuery
|
|||
Django admin Javascript makes use of the `jQuery`_ library.
|
||||
|
||||
To avoid conflicts with user-supplied scripts or libraries, Django's jQuery
|
||||
(version 1.9.1) is namespaced as ``django.jQuery``. If you want to use jQuery
|
||||
(version 1.11.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:: 1.8
|
||||
|
||||
The embedded jQuery has been upgraded from 1.9.1 to 1.11.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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue