Fix HomePage
This commit is contained in:
parent
8550e446bf
commit
af4809dcf8
|
@ -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 %}
|
|
@ -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",
|
||||||
|
|
|
@ -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"]
|
||||||
|
|
Loading…
Reference in New Issue