mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-24 10:34:03 +03:00
feat: remove old src tags and add new
This commit is contained in:
parent
f4ffee1f59
commit
db00ca7506
|
@ -12,10 +12,12 @@
|
||||||
<meta name="author" content="Tom Christie">
|
<meta name="author" content="Tom Christie">
|
||||||
|
|
||||||
<!-- Le styles -->
|
<!-- Le styles -->
|
||||||
<link href="{{ 'css/prettify.css'|url }}" rel="stylesheet">
|
<!-- <link href="{{ 'css/prettify.css'|url }}" rel="stylesheet">
|
||||||
<link href="{{ 'css/bootstrap.css'|url }}" rel="stylesheet">
|
<link href="{{ 'css/bootstrap.css'|url }}" rel="stylesheet">
|
||||||
<link href="{{ 'css/bootstrap-responsive.css'|url }}" rel="stylesheet">
|
<link href="{{ 'css/bootstrap-responsive.css'|url }}" rel="stylesheet">
|
||||||
<link href="{{ 'css/default.css'|url }}" rel="stylesheet">
|
<link href="{{ 'css/default.css'|url }}" rel="stylesheet"> -->
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="{{ 'css/bootstrap5.css'|url }}">
|
||||||
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
@ -134,13 +136,16 @@
|
||||||
<!-- Le javascript
|
<!-- Le javascript
|
||||||
================================================== -->
|
================================================== -->
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
<!-- Placed at the end of the document so the pages load faster -->
|
||||||
<script async src="https://fund.django-rest-framework.org/sidebar_include.js"></script>
|
<!-- <script async src="https://fund.django-rest-framework.org/sidebar_include.js"></script>
|
||||||
<script src="{{ 'js/jquery-1.8.1-min.js'|url }}"></script>
|
<script src="{{ 'js/jquery-1.8.1-min.js'|url }}"></script>
|
||||||
<script src="{{ 'js/prettify-1.0.js'|url }}"></script>
|
<script src="{{ 'js/prettify-1.0.js'|url }}"></script>
|
||||||
<script src="{{ 'js/bootstrap-2.1.1-min.js'|url }}"></script>
|
<script src="{{ 'js/bootstrap-2.1.1-min.js'|url }}"></script>
|
||||||
<script src="{{ 'js/theme.js'|url }}"></script>
|
<script src="{{ 'js/theme.js'|url }}"></script> -->
|
||||||
|
|
||||||
<script>var base_url = '{{ base_url }}';</script>
|
<script>var base_url = '{{ base_url }}';</script>
|
||||||
|
|
||||||
|
<script src="{{ 'js/bootstrap5.bundle.js'|url }}"></script>
|
||||||
|
|
||||||
{% for path in config.extra_javascript %}
|
{% for path in config.extra_javascript %}
|
||||||
<script src="{{ path|url }}" defer></script>
|
<script src="{{ path|url }}" defer></script>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user