{% load i18n rest_framework static %} {% block head %} {% block meta %} {% endblock meta %} {% block title %}Django REST framework{% endblock %} {% block style %} {% block bootstrap_theme %} {% endblock bootstrap_theme %} {% endblock style %} {% endblock head %} {% block body %}
{% block navbar %} {% endblock navbar %}
{% block breadcrumbs %} {% endblock breadcrumbs %}
{% if 'GET' in allowed_methods %}
{% endif %} {% if post_form %} {% endif %} {% if put_form %} {% endif %} {% if delete_form %}
{% endif %} {% if extra_actions %} {% endif %} {% if filter_form %} {% endif %}
{% block description %} {{ description }} {% endblock description %}
{% if paginator %} {% endif %}
{% if style == 'list' %} {% include "rest_framework/admin/list.html" %} {% else %} {% include "rest_framework/admin/detail.html" %} {% endif %}
{% if paginator %} {% endif %}
{% if error_form %} {% endif %} {% if filter_form %} {{ filter_form }} {% endif %} {% block script %} {% endblock script %} {% endblock body %}