{% extends "base.html" %} {% load rest_framework wger_extras django_bootstrap_breadcrumbs static %} {% block header %} {% endblock %} {% block title %}REST API - {{ name }}{% endblock %} {# #} {# Breadcrumbs #} {# #} {% block breadcrumbs %} {{ block.super }} {% breadcrumb "Api Documentation" "software:api" %} {% for breadcrumb_name, breadcrumb_url in breadcrumblist %} {% breadcrumb_raw breadcrumb_name breadcrumb_url %} {% endfor %} {% endblock %} {% block content %} {# #} {# GET button #} {# #} {% if 'GET' in allowed_methods %}
{% endif %} {# #} {# OPTIONS button #} {# #} {% if options_form %} {% endif %} {# #} {# DELETE button #} {# #} {% if delete_form %} {% endif %} {# #} {# Object/endpoint description #} {# #}{{ description }}
{% endblock %}{{ request.method }} {{ request.get_full_path }}
{% endautoescape %} {{ content|urlize_quoted_links }}
This live browsing view was copied and adapted from Django REST framework, who also powers the API behind the scenes.
{% endblock %}