{% load staticfiles %} {% load i18n %} {% load rest_framework %} {% block head %} {% block meta %} {% endblock %} {% block title %}{% if name %}{{ name }} – {% endif %}Django REST framework{% endblock %} {% block style %} {% block bootstrap_theme %} {% endblock %} {% endblock %} {% endblock %} {% block body %}
{% block navbar %} {% endblock %}
{% block breadcrumbs %} {% endblock %}
{% if 'GET' in allowed_methods %}
{% if api_settings.URL_FORMAT_OVERRIDE %}
GET
{% else %} GET {% endif %}
{% endif %} {% if options_form %}
{% endif %} {% if delete_form %} {% endif %} {% if filter_form %} {% endif %}
{% block description %} {{ description }} {% endblock %}
{% if paginator %} {% endif %}
{{ request.method }} {{ request.get_full_path }}
HTTP {{ response.status_code }} {{ response.status_text }}{% autoescape off %}
  {% for key, val in response_headers.items %}{{ key }}: {{ val|break_long_headers|urlize_quoted_links }}
  {% endfor %}
  {{ content|urlize_quoted_links }}
{% endautoescape %}
{% if display_edit_forms %} {% if post_form or raw_data_post_form %}
{% if post_form %} {% endif %}
{% if post_form %}
{% with form=post_form %}
{% csrf_token %} {{ post_form }}
{% endwith %}
{% endif %}
{% with form=raw_data_post_form %}
{% include "rest_framework/raw_data_form.html" %}
{% endwith %}
{% endif %} {% if put_form or raw_data_put_form or raw_data_patch_form %}
{% if put_form %} {% endif %}
{% if put_form %}
{{ put_form }}
{% endif %}
{% with form=raw_data_put_or_patch_form %}
{% include "rest_framework/raw_data_form.html" %}
{% if raw_data_put_form %} {% endif %} {% if raw_data_patch_form %} {% endif %}
{% endwith %}
{% endif %} {% endif %}
{% if filter_form %} {{ filter_form }} {% endif %} {% block script %} {% endblock %} {% endblock %}