Skip to content

Commit

Permalink
Fix jquery version for API html rendering
Browse files Browse the repository at this point in the history
As of 3.15.0 version of django-rest-framework the embeded
jquery version is now 3.7.1

fixes #5306

(cherry picked from commit 00b1a39)
  • Loading branch information
chtaylo2 authored and gerrod3 committed Jun 27, 2024
1 parent 758b8af commit 601dee0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES/5306.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update jquery version from 3.5.1 to 3.7.1 in API.html template
2 changes: 1 addition & 1 deletion pulpcore/app/templates/rest_framework/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ <h1>{{ name }}</h1>
csrfToken: "{{ csrf_token }}"
};
</script>
<script src="{% static "rest_framework/js/jquery-3.5.1.min.js" %}"></script>
<script src="{% static "rest_framework/js/jquery-3.7.1.min.js" %}"></script>
<script src="{% static "rest_framework/js/ajax-form.js" %}"></script>
<script src="{% static "rest_framework/js/csrf.js" %}"></script>
<script src="{% static "rest_framework/js/bootstrap.min.js" %}"></script>
Expand Down

0 comments on commit 601dee0

Please sign in to comment.