We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed616ff commit 2a74248Copy full SHA for 2a74248
1 file changed
docs/ref/contrib/admin/index.txt
@@ -2172,7 +2172,10 @@ Django admin JavaScript makes use of the `jQuery`_ library.
2172
To avoid conflicts with user-supplied scripts or libraries, Django's jQuery
2173
(version 3.5.1) is namespaced as ``django.jQuery``. If you want to use jQuery
2174
in your own admin JavaScript without including a second copy, you can use the
2175
-``django.jQuery`` object on changelist and add/edit views.
+``django.jQuery`` object on changelist and add/edit views. Also, your own admin
2176
+forms or widgets depending on ``django.jQuery`` must specify
2177
+``js=['admin/js/jquery.init.js', …]`` when :ref:`declaring form media assets
2178
+<assets-as-a-static-definition>`.
2179
2180
.. versionchanged:: 3.0
2181
0 commit comments