{% load static %} Document
{% block content %} {% for namespace in namespaces %}

{{ namespace.namespace_name }}


{% for view in namespace.views %}

{{ view.view_name }}

{% if view.doc_string %}

{{ view.doc_string }}

{% endif %}
{% for url_path_data in view.urls_data %}
{{ url_path_data.url_full_path }}
{% if url_path_data.url_name %}

{{ url_path_data.url_name }}

{% endif %}
{% endfor %}
{% for method in view.view_methods %}

{{ method.HTTP_method }}

{% if method.doc_string %}
{{ method.doc_string }}
{% endif %}
{% if method.http_data.expected_request_data is None %}

Expected request data

{% else %}

Expected request data

{% for expected_request_data in method.http_data.expected_request_data %} {% if expected_request_data.query_arg %}
{% for key, value in expected_request_data.query_arg.items %}
{{ key }}
=
{{ value }}
{% endfor %}
{% else %} {% endif %}
{{ expected_request_data.expected_request_data }}
{% if not forloop.last %}
{% else %} {% endif %} {% endfor %}
{% endif %}
{% for http_status in method.http_data.http_statuses %}

{{ http_status.expected_response_status_code }}

{% for expected_response_data in http_status.expected_response_data %} {% if expected_response_data.comment %}
{{ expected_response_data.comment }}
{% endif %} {% if expected_response_data.query_arg %}
{% for key, value in expected_response_data.query_arg.items %}
{{ key }}
=
{{ value }}
{% endfor %}
{% else %} {% endif %}
{{ expected_response_data.expected_response_data }}
{% if not forloop.last %}
{% else %} {% endif %} {% endfor %}
{% endfor %}
{% endfor %} {% endfor %}
{% endfor %} {% endblock content %}