{% extends "base.html" %} {% load rest_framework %} {% load wger_extras %} {% load wger_extras %} {% block header %} {% endblock %} {% block title %}REST API - {{ name }}{% endblock %} {% block content %} {# #} {# Breadcrumbs #} {# #} {% block breadcrumbs %}
{% endblock %} {# #} {# 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 %}