mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-05 04:50:12 +03:00
Update 3.6-announcement.md
fixed space and added loading staticfiles
This commit is contained in:
parent
e241e9fb25
commit
afcf0e01ba
|
@ -101,11 +101,11 @@ Here's a brief example that demonstrates:
|
|||
* Making an API request using the client.
|
||||
|
||||
**index.html**
|
||||
|
||||
{% load staticfiles %}
|
||||
<html>
|
||||
<head>
|
||||
<script src="{% static 'js/coreapi-0.1.0.js' %}"></script>
|
||||
<script src="{% static 'docs/js/schema.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