{% extends 'users/_user.html' %} {% load helpers %} {% block title %}API Tokens{% endblock %} {% block usercontent %}
{% for token in tokens %}
{{ token.key }} {% if token.is_expired %} Expired {% endif %}
{{ token.created|date }}
Created
{% if token.expires %} {{ token.expires|date }}
{% else %} Never
{% endif %} Expires
{% if token.write_enabled %} Enabled {% else %} Disabled {% endif %}
Create/edit/delete operations
{% if token.description %}
{{ token.description }} {% endif %}
{% empty %}

You do not have any API tokens.

{% endfor %} Add a token
{% endblock %}