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

View File

@ -23,7 +23,7 @@ BASE_DIR = os.path.dirname(PROJECT_DIR)
# Application definition # Application definition
INSTALLED_APPS = [ INSTALLED_APPS = [
#"home", "home",
"search", "search",
"wagtail.contrib.forms", "wagtail.contrib.forms",
"wagtail.contrib.redirects", "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! # SECURITY WARNING: define the correct hosts in production!
ALLOWED_HOSTS = ["*"] 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_TRUSTED_ORIGINS = ["https://shop.ru-mine.ru"]
CSRF_ALLOWED_ORIGINS = ["https://shop.ru-mine.ru"] CSRF_ALLOWED_ORIGINS = ["https://shop.ru-mine.ru"]
CORS_ORIGINS_WHITELIST = ["https://shop.ru-mine.ru"] CORS_ORIGINS_WHITELIST = ["https://shop.ru-mine.ru"]