Skip to content

Commit 598f160

Browse files
committed
Used bootstrap5 bundled js
* No need to add popper.js as a separate source
1 parent ec1ccbb commit 598f160

File tree

6 files changed

+11
-12
lines changed

6 files changed

+11
-12
lines changed

rest_framework/static/rest_framework/js/bootstrap.bundle.min.js

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rest_framework/static/rest_framework/js/bootstrap.bundle.min.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rest_framework/static/rest_framework/js/bootstrap.min.js

Lines changed: 0 additions & 7 deletions
This file was deleted.

rest_framework/templates/rest_framework/admin.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,7 @@ <h4 class="modal-title" id="myModalLabel">{{ error_title }}</h4>
268268
<script src="{% static "rest_framework/js/jquery-3.5.1.min.js" %}"></script>
269269
<script src="{% static "rest_framework/js/ajax-form.js" %}"></script>
270270
<script src="{% static "rest_framework/js/csrf.js" %}"></script>
271-
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
272-
<script src="{% static "rest_framework/js/bootstrap.min.js" %}"></script>
271+
<script src="{% static "rest_framework/js/bootstrap.bundle.min.js" %}"></script>
273272
<script src="{% static "rest_framework/js/prettify-min.js" %}"></script>
274273
<script src="{% static "rest_framework/js/default.js" %}"></script>
275274
<script>

rest_framework/templates/rest_framework/base.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,8 +294,7 @@ <h1 class="align-text-top">{{ name }}</h1>
294294
<script src="{% static "rest_framework/js/jquery-3.5.1.min.js" %}"></script>
295295
<script src="{% static "rest_framework/js/ajax-form.js" %}"></script>
296296
<script src="{% static "rest_framework/js/csrf.js" %}"></script>
297-
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
298-
<script src="{% static "rest_framework/js/bootstrap.min.js" %}"></script>
297+
<script src="{% static "rest_framework/js/bootstrap.bundle.min.js" %}"></script>
299298
<script src="{% static "rest_framework/js/prettify-min.js" %}"></script>
300299
<script src="{% static "rest_framework/js/default.js" %}"></script>
301300
<script>

rest_framework/templates/rest_framework/docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
{% include "rest_framework/docs/auth/session.html" %}
3838

3939
<script src="{% static 'rest_framework/js/jquery-3.5.1.min.js' %}"></script>
40-
<script src="{% static 'rest_framework/js/bootstrap.min.js' %}"></script>
40+
<script src="{% static 'rest_framework/js/bootstrap.bundle.min.js' %}"></script>
4141
<script src="{% static 'rest_framework/docs/js/jquery.json-view.min.js' %}"></script>
4242
<script src="{% static 'rest_framework/docs/js/api.js' %}"></script>
4343
<script>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy