{% extends 'uhepp_vault/base.html' %} {% load pygmentify_tags %} {% block content %}
New token is: {{ token.key }}
In order to use the token to access the API, add the following code to your environment.
{% pygmentify %}export UHEPP_API={{ request.scheme }}://{{ request.get_host }}{% url 'api-root' %} export UHEPP_TOKEN={{ token.key }}{% endpygmentify %} {% else %} {% endif %} {% endblock %}