{% extends "admin/change_form.html" %} {% block content %}{{ block.super }} {% if sd_issue_url %} {% comment %} Outside the route's form, so making or replacing a token posts only this; the name field and the Replace buttons join it with form="sd-token-form". {% endcomment %}
{% csrf_token %}
{% endif %} {% endblock %} {% block after_related_objects %}{{ block.super }} {% if sd_issue_url %}

Make a token

{% if not sd_has_active_token %}

This route has no active token, so nothing can call it yet.

{% endif %}

The token is shown once, on the next page. Only a hash of it is kept.

{% endif %} {% if sd_examples %}

Examples

With this route's address filled in. Put a token in place of {{ sd_token_placeholder }}: tokens are shown only when they are made.

{% for ex in sd_examples %}
{{ ex.title }} {{ ex.note }}
{{ ex.code }}
{% endfor %}
{% endif %} {% endblock %}