From b791a5cee9aa1eead7962245cb9a8f27dd8aec41 Mon Sep 17 00:00:00 2001 From: erjemin Date: Sun, 9 Aug 2026 22:05:00 +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?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lpon_site/templates/404.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lpon_site/templates/404.html b/lpon_site/templates/404.html index 57c375a..2b851fc 100644 --- a/lpon_site/templates/404.html +++ b/lpon_site/templates/404.html @@ -50,10 +50,11 @@

Ошибка 404

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

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

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

{{ admin_hint }}

+

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

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