You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
560 B
21 lines
560 B
import logging
|
|
from .settings import * # noqa
|
|
|
|
DEBUG = True
|
|
EMAIL_DEBUG = True
|
|
TEMPLATES[0]['OPTIONS']['debug'] = DEBUG # noqa
|
|
|
|
MEDIA_ROOT = os.path.join(BASE_DIR, 'media_qa') # noqa
|
|
|
|
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
|
|
PASSWORD_HASHERS = ('django.contrib.auth.hashers.MD5PasswordHasher', )
|
|
|
|
CELERY_TASK_ALWAYS_EAGER = True
|
|
|
|
# Disable cache during testing
|
|
CACHE_DISABLED = True
|
|
|
|
LOGGING = {}
|
|
LOCAL_APPS_LOGGERS = {}
|
|
# Disable all logging calls with levels less severe than or equal to CRITICAL
|
|
logging.disable(logging.CRITICAL)
|
|
|