{% extends 'users/base.html' %} {% load helpers %} {% block title %}API Tokens{% endblock %} {% block usercontent %}
{% for token in tokens %}
{{ token.key }} {% if token.is_expired %} Expired {% endif %}
Created
{{ token.created|annotated_date }}
Expires
{% if token.expires %} {{ token.expires|annotated_date }} {% else %} Never {% endif %}
Create/Edit/Delete Operations
{% if token.write_enabled %} Enabled {% else %} Disabled {% endif %}
{% if token.description %}
{{ token.description }} {% endif %}
{% empty %}

You do not have any API tokens.

{% endfor %} Add a Token
{% endblock %}