rumine-web/rumine/settings/dev.py

23 lines
659 B
Python
Raw Normal View History

2024-03-13 07:49:06 +01:00
from .base import *
# SECURITY WARNING: don't run with debug turned on in production!
2024-03-17 16:12:39 +01:00
DEBUG = True
2024-03-13 07:49:06 +01:00
# SECURITY WARNING: keep the secret key used in production secret!
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 = ["*"]
2024-03-17 16:20:41 +01:00
ALLOWED_HOSTS = ["https://shop.ru-mine.ru"]
CSRF_TRUSTED_ORIGINS = ["https://shop.ru-mine.ru"]
CSRF_ALLOWED_ORIGINS = ["https://shop.ru-mine.ru"]
CORS_ORIGINS_WHITELIST = ["https://shop.ru-mine.ru"]
2024-03-13 07:49:06 +01:00
EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"
try:
from .local import *
except ImportError:
pass