comfy/artel/artel/settings/tests.py

21 wiersze
443 B
Python

from .base import *
# SECURITY WARNING: define the correct hosts in production!
ALLOWED_HOSTS = ["*"]
SECRET_KEY = "test"
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = "smtp-server"
EMAIL_HOST_USER = None
EMAIL_HOST_PASSWORD = None
EMAIL_PORT = 1025
EMAIL_USE_TLS = False
DEFAULT_FROM_EMAIL = os.environ.get('DEFAULT_FROM_EMAIL', 'mtyton@tepewu.pl')
try:
from .local import *
except ImportError:
pass