point select2 js resources to local statifiles

This commit is contained in:
Nick Sweeting 2024-09-10 01:51:08 -07:00
parent 0640018426
commit f5c878b267
No known key found for this signature in database

View file

@ -46,11 +46,11 @@
{% endblock %}
<script
src="https://code.jquery.com/jquery-3.7.1.slim.min.js"
src="{% static 'jquery-3.7.1.slim.min.js' %}"
integrity="sha256-kmHvs0B+OpCW5GVHUNjv9rOmY0IvSIRcf7zGUDTDQM8="
crossorigin="anonymous"></script>
<link href="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css" rel="stylesheet" />
<script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js"></script>
<link href="{% static 'select2.min.css' %}" rel="stylesheet"/>
<script src="{% static 'select2.min.js' %}"></script>
<link rel="stylesheet" type="text/css" href="{% static "admin.css" %}">