Lowlights 2024-01-26 18:29:05 +06:00
parent e4090b8cee
commit 8f91cf0364
4 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ SECRET_KEY = 'django-insecure-&b24xw3mg)lbuo4pdea^cxgkoc!yace&t^o9*o#n=-_jhwe+x!
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ALLOWED_HOSTS = ['192.168.0.172', 'nitakushop.silkyway.kz']
ALLOWED_HOSTS = ['192.168.0.172', 'nitakushop.silkyway.kz','127.0.0.1']
# Application definition

View File

@ -27,7 +27,7 @@
<div class="about-container">
<h2 class="m-2"><strong>{{ content }}</strong></h2>
<p class="m-2">{{ text_on_page|safe }}</p>
<a href="{% url 'index' %}" class="btn btn-primary">Вернуться на главную</a>
<a href="{% url 'product_list' %}" class="btn btn-primary">Вернуться на главную</a>
<a href="https://t.me/silky_way_bot" class="telegram-button">Перейти к Silky Way</a>
</div>

View File

@ -7,7 +7,7 @@
<h3>Категории</h3>
<div class="btn-group" role="group" aria-label="Категории">
{% for c in categories %}
<a href="{{ c.get_absolute_url }}" class="btn btn-secondary {% if category.slug == c.slug %}active{% endif %}">
<a href="{{ c.get_absolute_url }}" class="btn btn-secondary {% if category.slug == c.slug %}active{% endif %}">
{{ c.name }}
</a>
{% endfor %}