Add upload form and update Photo model

This commit is contained in:
Nyymix 2025-02-24 20:23:07 +02:00
parent c43f3612e3
commit 555c6c0d89
5 changed files with 211 additions and 38 deletions

View file

@ -0,0 +1,7 @@
{% extends "admin/change_form.html" %}
{% block object-tools-items %}
{{ block.super }}
<li>
<a href="{% url 'admin:gallery_album_upload' album_id=original.id %}" class="button">Upload Photos</a>
</li>
{% endblock %}