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.
54 lines
1.8 KiB
54 lines
1.8 KiB
# -*- coding: utf-8 -*-
|
|
from settings import *
|
|
|
|
DEBUG = True
|
|
TEMPLATE_DEBUG = DEBUG
|
|
|
|
ADMINS = ()
|
|
|
|
MANAGERS = ADMINS
|
|
|
|
SERVER_EMAIL = 'dokumentor@localhost'
|
|
|
|
ALLOWED_HOSTS = ['*']
|
|
|
|
DATABASES = {
|
|
'default': {
|
|
'ENGINE': 'django.db.backends.postgresql_psycopg2', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
|
|
'NAME': 'dokumentor', # Or path to database file if using sqlite3.
|
|
'USER': 'dokumentor', # Not used with sqlite3.
|
|
'PASSWORD': 'dokumentor', # Not used with sqlite3.
|
|
'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
|
|
'PORT': '', # Set to empty string for default. Not used with sqlite3.
|
|
}
|
|
}
|
|
|
|
EMAIL_BACKEND = 'eml_email_backend.EmailBackend'
|
|
EMAIL_FILE_PATH = path('../../tmp_emails')
|
|
|
|
DEVSERVER_DEFAULT_PORT = '8080'
|
|
DEVSERVER_MODULES = ()
|
|
INSTALLED_APPS += ('devserver',)
|
|
|
|
if False and 'debug_toolbar' not in INSTALLED_APPS:
|
|
MIDDLEWARE_CLASSES += ('debug_toolbar.middleware.DebugToolbarMiddleware',)
|
|
INSTALLED_APPS += ('debug_toolbar',)
|
|
|
|
DEBUG_TOOLBAR_PANELS = (
|
|
#'debug_toolbar.panels.version.VersionDebugPanel',
|
|
'debug_toolbar.panels.timer.TimerDebugPanel',
|
|
'debug_toolbar.panels.settings_vars.SettingsVarsDebugPanel',
|
|
'debug_toolbar.panels.headers.HeaderDebugPanel',
|
|
'debug_toolbar.panels.request_vars.RequestVarsDebugPanel',
|
|
'debug_toolbar.panels.template.TemplateDebugPanel',
|
|
'debug_toolbar.panels.sql.SQLDebugPanel',
|
|
'debug_toolbar.panels.cache.CacheDebugPanel',
|
|
'debug_toolbar.panels.logger.LoggingPanel',
|
|
)
|
|
|
|
INTERNAL_IPS = ('127.0.0.1',)
|
|
|
|
DEBUG_TOOLBAR_CONFIG = {
|
|
'EXCLUDE_URLS': ('/admin',),
|
|
'INTERCEPT_REDIRECTS': False,
|
|
}
|
|
|