Update 3.6-announcement.md

fixed space and added loading staticfiles
This commit is contained in:
Shankar Ambady 2017-03-09 15:25:20 -05:00 committed by GitHub
parent e241e9fb25
commit afcf0e01ba

View File

@ -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