{% extends "admin/base.html" %} {% load i18n %} {% block title %}{% trans "Authentication Tokens" %}{% endblock %} {% block content %}

{% trans "Authentication Tokens" %}

{% csrf_token %}
{% if has_perm_add_authtoken %} {% trans "New API Token" %} {% else %} {% trans "New API Token" %} {% endif %}
{% if tokens|length > 0 %} {% for token in tokens %} {% endfor %}
{% trans "Digest" %}
{% trans "Created At" %} {% trans "Expires At" %}
{{ token.digest|truncatechars:24 }} {{ token.created }} {{ token.expiry }}
{% else %} {% trans "No API Tokens defined so far" %} {% endif %}
{% endblock %}