{% extends "drf_docs/docs.html" %} {% block apps_menu %} {% regroup endpoints by name_parent as endpoints_grouped %} {% endblock %} {% block content %} {% regroup endpoints by name_parent as endpoints_grouped %} {% if endpoints_grouped %} {% for group in endpoints_grouped %}

{{group.grouper}}

{% for endpoint in group.list %}
{% if endpoint.docstring %}

{{ endpoint.docstring | escape | linebreaks }}

{% endif %} {% if endpoint.errors %} {% endif %} {% if endpoint.fields %}
    {% for field in endpoint.fields %} {% endfor %}
    FILED_NAME ANNOTATION FILED_TYPE
    {{ field.name }} {% if field.required %} R {% endif %} {{ field.label }} {{ field.type }}
{% elif not endpoint.errors %}

No fields.

{% endif %}
{% endfor %}
{% endfor %} {% if translate %} {% endif %} {% elif not query %}

There are currently no api endpoints to document.

{% else %}

No endpoints found for {{ query }}.

{% endif %} {% endblock %}