{% extends "core/base/base.html" %} {% comment %} SPDX-FileCopyrightText: 2022 Helmholtz-Zentrum Dresden-Rossendorf (HZDR) SPDX-License-Identifier: GPL-3.0-or-later {% endcomment %} {% load static %} {% load vendor_tags %} {% block title %} HELIPORT API Tokens {% endblock title %} {% block content %} {% vendor_css "codemirror" %}

HELIPORT API Tokens

{% comment %} trigger delete modal {% endcomment %} {% comment %} Delete Modal {% endcomment %} {% comment %} Show Token Modal {% endcomment %} {% for token in tokens %} {% endfor %}
Hash Date created
{{ token.digest|truncatechars:7 }} {{ token.namedtoken.name }} {{ token.created }} {% if token.expiry %} {{ token.expiry }} {% else %} Never {% endif %}
New

Example how to use tokens using the third-party Python Requests package:


{% endblock content %} {% block script %} {% vendor_js "codemirror" %} {% endblock script %}