Merge pull request #4967 from 0xKD/patch-2

Update coreapi.js version in JavaScript API docs.
This commit is contained in:
Tom Christie 2017-03-13 10:06:35 +00:00 committed by GitHub
commit d508a3dd1e

View File

@ -1,5 +1,6 @@
{% load rest_framework %}
{% load staticfiles %}
<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>