mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-05 04:50:12 +03:00
Merge 78fedf8681
into 544b4b9948
This commit is contained in:
commit
65c1eee8e7
|
@ -101,11 +101,11 @@ Here's a brief example that demonstrates:
|
|||
* Making an API request using the client.
|
||||
|
||||
**index.html**
|
||||
|
||||
{% load static %}
|
||||
<html>
|
||||
<head>
|
||||
<script src="/static/rest_framework/js/coreapi-0.1.0.js"></script>
|
||||
<script src="/docs/schema.js' %}"></script>
|
||||
<script src="{% static 'js/coreapi-0.1.0.js' %}"></script>
|
||||
<script src="{% static 'docs/js/schema.js' %}"></script>
|
||||
<script>
|
||||
const coreapi = window.coreapi
|
||||
const schema = window.schema
|
||||
|
|
Loading…
Reference in New Issue
Block a user