Skip to content

Commit

Permalink
Refs #35189 -- Removed no longer necessary JavaScript file collapse.js.
Browse files Browse the repository at this point in the history
  • Loading branch information
MHLut authored and nessita committed May 22, 2024
1 parent 676060d commit 7857507
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 44 deletions.
43 changes: 0 additions & 43 deletions django/contrib/admin/static/admin/js/collapse.js

This file was deleted.

3 changes: 3 additions & 0 deletions docs/releases/5.1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,9 @@ Miscellaneous
when the fieldset has a name and use the ``collapse`` class, now includes
``<details>`` and ``<summary>`` elements.

* The JavaScript file ``collapse.js`` is removed since it is no longer needed
in the Django admin site.

* :meth:`.SimpleTestCase.assertURLEqual` and
:meth:`~django.test.SimpleTestCase.assertInHTML` now add ``": "`` to the
``msg_prefix``. This is consistent with the behavior of other assertions.
Expand Down
1 change: 0 additions & 1 deletion js_tests/tests.html
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@
<script src='./admin/inlines.test.js'></script>

<script src='../django/contrib/admin/static/admin/js/actions.js' data-cover></script>
<script src='../django/contrib/admin/static/admin/js/collapse.js' data-cover></script>
<script src='../django/contrib/admin/static/admin/js/prepopulate.js' data-cover></script>
<script src='../django/contrib/admin/static/admin/js/urlify.js' data-cover></script>
<script src='./admin/URLify.test.js'></script>
Expand Down

0 comments on commit 7857507

Please sign in to comment.