{% load staticfiles %}
{{ data }}
{% if debug is True %}
Note: You are seeing this message because DEBUG==True.
Seeing this page is usually a configuration error: are your
DEFAULT_AUTHENTICATION_CLASSES or DEFAULT_PERMISSION_CLASSES
being applied unexpectedly?
Your response status code is: {{ response.status_code }}
Most commonly the intended solution is to disable authentication and permissions when including the docs urls:
url(r'^docs/', include_docs_urls(title='Your API',
authentication_classes=[],
permission_classes=[])),
If you wish access to your docs to be authenticated you may override this template
at rest_framework/docs/error.html.
The available context is: data the error dict above, request,
response and the debug flag.