mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-27 03:54:01 +03:00
Merge pull request #4967 from 0xKD/patch-2
Update coreapi.js version in JavaScript API docs.
This commit is contained in:
commit
d508a3dd1e
|
@ -1,5 +1,6 @@
|
||||||
{% load rest_framework %}
|
{% load rest_framework %}
|
||||||
{% load staticfiles %}
|
{% load staticfiles %}
|
||||||
<pre class="highlight javascript hide" data-language="javascript"><code>{% code html %}<!-- Load the JavaScript client library -->
|
<pre class="highlight javascript hide" data-language="javascript"><code>{% code html %}<!-- Load the JavaScript client library -->
|
||||||
<script src="{% static 'rest_framework/js/coreapi-0.0.20.js' %}"></script>
|
<script src="{% static 'rest_framework/js/coreapi-0.1.0.js' %}"></script>
|
||||||
<script src="{% url 'api-docs:schema-js' %}"></script>{% endcode %}</code></pre>
|
<script src="{% url 'api-docs:schema-js' %}"></script>{% endcode %}</code></pre>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user