23 lines
677 B
Python
23 lines
677 B
Python
from .base import *
|
|
|
|
# SECURITY WARNING: don't run with debug turned on in production!
|
|
DEBUG = True
|
|
|
|
# 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 = ["*"]
|
|
ALLOWED_HOSTS = ["shop.ru-mine.ru", "127.0.0.1", "localhost"]
|
|
CSRF_TRUSTED_ORIGINS = ["https://shop.ru-mine.ru"]
|
|
CSRF_ALLOWED_ORIGINS = ["https://shop.ru-mine.ru"]
|
|
CORS_ORIGINS_WHITELIST = ["https://shop.ru-mine.ru"]
|
|
|
|
EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"
|
|
|
|
|
|
try:
|
|
from .local import *
|
|
except ImportError:
|
|
pass
|