mirror of https://github.com/django/django.git
Fixed #23355 -- Updated admin jQuery to 1.11.1.
This commit is contained in:
parent
50ae4b4b9e
commit
7d62fb5957
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -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
|
||||
|
|
|
@ -48,6 +48,8 @@ Minor features
|
|||
<django.contrib.admin.ModelAdmin.delete_view>` displays a summary of objects
|
||||
to be deleted on the deletion confirmation page.
|
||||
|
||||
* The jQuery library embedded in the admin has been upgraded to version 1.11.1.
|
||||
|
||||
:mod:`django.contrib.auth`
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
|
Loading…
Reference in New Issue