{% extends "admin/base_site_nav.html" %} {% load rest_framework %} {% load i18n %} {% block extrahead %}{{block.super}} {% endblock %} {% block content %}

{% comment %}Translators: Translation included with Django {% endcomment %} {% trans "HTTP request" %}:
  {{ request.method }}
{{request.prefix}}{{ request.get_full_path }}

{% comment %}Translators: Translation included with Django {% endcomment %} {% trans "HTTP response headers" %}:
  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 %}
{% comment %}Translators: Translation included with Django {% endcomment %} {% trans "HTTP response content" %}:
{% endautoescape %}
{% if 'GET' in allowed_methods %}
{% if api_settings.URL_FORMAT_OVERRIDE %} {% for format in available_formats %} {% endfor %} {% else %} {% blocktrans with http_method='GET' %}{{ http_method }} request{% endblocktrans %} {% endif %}
{% endif %} {% if options_form %}
{% endif %} {% if display_edit_forms %} {% if post_form or raw_data_post_form %} {% 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 %}
{{ put_form }}
{% if put_form or raw_data_put_form or raw_data_patch_form %}
{% 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 %} {% if delete_form %} {% endif %} {% endif %}
{% endblock %}