Added option to bulk create vouchers via the WebUI.

Closes #9
This commit is contained in:
Johannes Erwerle 2026-10-18 15:04:00 +02:00
parent f3d152b454
commit baea657d1a
5 changed files with 79 additions and 11 deletions

View file

@ -0,0 +1,8 @@
{% extends "admin/base_site.html" %}
{% block content %}
<form method="post">
{% csrf_token %}
{{ form }}
<input type="submit" value="submit">
</form>
{% endblock %}

View file

@ -0,0 +1,6 @@
{% extends "admin/change_list.html" %}
{% block object-tools-items %}
{{ block.super }}
<li><a href="{% url 'admin:voucher_bulk_generate' %}" class="addlink">Bulk Generate Vouchers</a></li>
{% endblock %}