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.
 
 
 
 

33 lines
706 B

# -*- coding: utf-8 -*-
from settings import *
DEBUG = True
ADMINS = ()
MANAGERS = ADMINS
SERVER_EMAIL = 'dokumentor@localhost'
ALLOWED_HOSTS = ['*']
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(ROOT_DIR, 'db.sqlite3'),
}
}
EMAIL_BACKEND = 'eml_email_backend.EmailBackend'
EMAIL_FILE_PATH = path('../tmp_emails')
if False and 'debug_toolbar' not in INSTALLED_APPS:
MIDDLEWARE_CLASSES += ('debug_toolbar.middleware.DebugToolbarMiddleware',)
INSTALLED_APPS += ('debug_toolbar',)
INTERNAL_IPS = ('127.0.0.1',)
DEBUG_TOOLBAR_CONFIG = {
'EXCLUDE_URLS': ('/admin',),
'INTERCEPT_REDIRECTS': False,
}