{% load staticfiles %} {% load i18n %} {% block head %} {% block title %}{% if name %}{{ name }} – {% endif %}API Browser{% endblock %} {% block favicon %} {% endblock favicon %} {% block stylesheets %} {% block reStructuredText_style %} {# Styling for reStructuredText documentation (docutils defaults) #} {% endblock reStructuredText_style %} {% block pygments_style %} {% endblock pygments_style %} {% endblock stylesheets %} {% endblock head %} {% block extra_head %}{% endblock %} {% block body %} {% block page_header %}

{{ name }}

{% endblock page_header %}
{% block description %} {{ description }} {% endblock %}
{% block profile %}

Profile

{% block profile_accepts %}

Accepts

{% endblock profile_accepts %} {% block profile_renders %}

Renders

{% endblock profile_renders %} {% block profile_actions %}

Actions

{% endblock profile_actions %}
{% endblock profile %}

Response Headers

{{ request.method }}
{{ request.get_full_path }}
HTTP {{ response.status_code }} {{ response.status_text }}
{% autoescape off %} {% for key, val in response_headers.items %}
{{ key }}
{{ val }}
{% endfor %} {% endautoescape %}

Response Body

{% autoescape off %} {{ content|safe }} {% endautoescape %}
{% if display_edit_forms %}
{% if post_form %} {% with form=post_form %}
{% csrf_token %} {{ post_form }}
{% endwith %} {% endif %} {% if put_form %}
{{ put_form }}
{% endif %}
{% endif %} {% block footer %}{% endblock %} {% block javascript %} {% endblock javascript %} {# Pages that extend this template can put Javascript here. #} {% block js %}{% endblock %} {% endblock body %}