{% for grant in grants %}
{{ grant.__class__.__name__ }}
Internal endpoints:
{% for endpoint in grant.settings.endpoints.all().values() %}
{{ endpoint }}
{% endfor %}
{% if grant.settings.endpoints_ext %} External endpoints:
{% for entry in grant.settings.endpoints_ext.all().values() %} {% if entry._dictionary is undefined %}
{{ entry }}
{% else %}
{{ entry.name }}
{% for endpoint in entry.all().values() %}
{{ endpoint }}
{% endfor %}
{% endif %} {% endfor %} {% if grant.settings.endpoints_ext.default %}
Default
{% for entry in grant.settings.endpoints_ext.default.all().values() %}
{{ entry }}
{% endfor %}
{% endif %}
{% endif %} {% if grant.settings.fwd_selector is defined %} Registered Forwarder endpoints
{% for entry in grant.settings.fwd_selector.all().values() %}
{{ entry }}
{% endfor %} {% if grant.settings.fwd_selector.default %}
{{ grant.settings.fwd_selector.default }}
{% endif %}
{% endif %} {% if grant.settings.json_schemata %} JSON schema definitions:
{% for entry in grant.settings.json_schemata.all().values() %}
{{ entry }}
{{ entry.schema.get_schema() }}
{% endfor %}
{% endif %} {% endfor %}