{% load url from future %} {% load rest_framework %} {% block head %} {% block meta %} {% endblock %} {% block title %}Django REST framework{% endblock %} {% block style %} {% block bootstrap_theme %}{% endblock %} {% endblock %} {% endblock %}
{% block navbar %} {% endblock %} {% block breadcrumbs %} {% endblock %}
{% if 'GET' in allowed_methods %}
GET
{% endif %} {% if options_form %}
{% csrf_token %}
{% endif %} {% if delete_form %}
{% csrf_token %}
{% endif %}
{{ description }}
{{ request.method }} {{ request.get_full_path }}
HTTP {{ response.status_code }} {{ response.status_text }}{% autoescape off %} {% for key, val in response.items %}{{ key }}: {{ val|break_long_headers|urlize_quoted_links }} {% endfor %}
{{ content|urlize_quoted_links }}
{% endautoescape %}
{% if response.status_code != 403 %} {% if post_form or raw_data_post_form %}
{% if post_form %} {% endif %}
{% if post_form %}
{% with form=post_form %}
{% include "rest_framework/form.html" %}
{% endwith %}
{% endif %}
{% with form=raw_data_post_form %}
{% include "rest_framework/form.html" %}
{% endwith %}
{% endif %} {% if put_form or raw_data_put_form or raw_data_patch_form %}
{% if put_form %} {% endif %}
{% if put_form %}
{% with form=put_form %}
{% include "rest_framework/form.html" %}
{% endwith %}
{% endif %}
{% with form=raw_data_put_or_patch_form %}
{% include "rest_framework/form.html" %}
{% if raw_data_put_form %} {% endif %} {% if raw_data_patch_form %} {% endif %}
{% endwith %}
{% endif %} {% endif %}
{% block footer %} {% endblock %} {% block script %} {% endblock %}