Commit 7d62fb59 authored by Tim Graham's avatar Tim Graham
Browse files

Fixed #23355 -- Updated admin jQuery to 1.11.1.

parent 50ae4b4b
Loading
Loading
Loading
Loading
+8240 −7529

File changed.

Preview size limit exceeded, changes collapsed.

+4 −5

File changed.

Preview size limit exceeded, changes collapsed.

+5 −1
Original line number Diff line number Diff line
@@ -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
+2 −0
Original line number Diff line number Diff line
@@ -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`
^^^^^^^^^^^^^^^^^^^^^^^^^^