0.1.333 upd 404_page and create conditions for unfound routes

This commit is contained in:
2024-01-09 13:03:30 +03:00
parent 46e73db10a
commit c7bc22813f
5 changed files with 93 additions and 5 deletions

View File

@@ -1,8 +1,27 @@
{% extends "tb_base.html" %}
{% load i18n %}
{% block content %}
404
<div class="not_found_wrap">
<div class="not_found_text">
<div
class="not_found_title">
404
</div>
<div class="not_found_sub_title">
{% translate "Страница не найдена" %}
</div>
</div>
<div class="button_container">
<a
class="a_btn_standart"
href="{% url 'main' %}">
{% translate "Вернуться на главную" %}
</a>
</div>
</div>
{% endblock %}