Fix HomePage

This commit is contained in:
itqop 2024-03-17 18:52:49 +03:00
parent 8550e446bf
commit af4809dcf8
10 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@
{% comment %}
Delete the line below if you're just getting started and want to remove the welcome screen!
{% endcomment %}
<link rel="stylesheet" href="{% static 'css/welcome_page.css' %}">
{% endblock extra_css %}
{% block content %}
@ -16,6 +16,6 @@ Delete the line below if you're just getting started and want to remove the welc
{% comment %}
Delete the line below if you're just getting started and want to remove the welcome screen!
{% endcomment %}
{% include 'home/welcome_page.html' %}
{% endblock content %}

View File

@ -23,7 +23,7 @@ BASE_DIR = os.path.dirname(PROJECT_DIR)
# Application definition
INSTALLED_APPS = [
#"home",
"home",
"search",
"wagtail.contrib.forms",
"wagtail.contrib.redirects",

View File

@ -8,7 +8,7 @@ SECRET_KEY = "django-insecure-opj&3@hcho2s_fr2ivz$6ufbx#zph+sxm)q%j-(i8(clv7qq1l
# SECURITY WARNING: define the correct hosts in production!
ALLOWED_HOSTS = ["*"]
ALLOWED_HOSTS = ["shop.ru-mine.ru"]
ALLOWED_HOSTS = ["shop.ru-mine.ru", "127.0.0.1"]
CSRF_TRUSTED_ORIGINS = ["https://shop.ru-mine.ru"]
CSRF_ALLOWED_ORIGINS = ["https://shop.ru-mine.ru"]
CORS_ORIGINS_WHITELIST = ["https://shop.ru-mine.ru"]