From 7a009ff2dcd4f12e8e7278b2249baaa5d5298926 Mon Sep 17 00:00:00 2001 From: erjemin Date: Tue, 11 Aug 2026 22:25:40 +0300 Subject: [PATCH] =?UTF-8?q?mod:=20=D1=83=D0=BB=D1=83=D1=87=D1=88=D0=B5?= =?UTF-8?q?=D0=BD=D0=BE=20404=20(2)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lpon_site/templates/404.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lpon_site/templates/404.html b/lpon_site/templates/404.html index 2b851fc..f65ae36 100644 --- a/lpon_site/templates/404.html +++ b/lpon_site/templates/404.html @@ -50,11 +50,10 @@

Ошибка 404

Страница не найдена…

Запрошенная страница не существует или была перемещена.

- {% if user.is_staff and requested_slug %} + {% if user.is_staff and amin_hint %}
Администратор!
-

Статья или хаб со слагом «{{ requested_slug }}» отсутствует в базе данных. - Создайте статью со слагом «{{ requested_slug }}» (тип HUB) в админис­тративной панели.

+

{{ amin_hint|safe }}

{% endif %} ← На главную страницу