master
parent
e4090b8cee
commit
8f91cf0364
Binary file not shown.
|
@ -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!
|
# SECURITY WARNING: don't run with debug turned on in production!
|
||||||
DEBUG = True
|
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
|
# Application definition
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
<div class="about-container">
|
<div class="about-container">
|
||||||
<h2 class="m-2"><strong>{{ content }}</strong></h2>
|
<h2 class="m-2"><strong>{{ content }}</strong></h2>
|
||||||
<p class="m-2">{{ text_on_page|safe }}</p>
|
<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>
|
<a href="https://t.me/silky_way_bot" class="telegram-button">Перейти к Silky Way</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<h3>Категории</h3>
|
<h3>Категории</h3>
|
||||||
<div class="btn-group" role="group" aria-label="Категории">
|
<div class="btn-group" role="group" aria-label="Категории">
|
||||||
{% for c in categories %}
|
{% 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 }}
|
{{ c.name }}
|
||||||
</a>
|
</a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in New Issue