Bot container restart from admin-panel

This commit is contained in:
2025-07-21 17:16:07 +09:00
parent 20f67ed96c
commit 421bebb770
267 changed files with 2307 additions and 300 deletions

View File

@@ -0,0 +1,14 @@
{% extends "admin/change_form.html" %}
{% load static %}
{% block object-tools %}
{{ block.super }}
{% if original %}
<li>
<a class="button"
href="{% url 'admin:botconfig-restart' original.pk %}">
🔁 Перезапустить бота
</a>
</li>
{% endif %}
{% endblock %}