forked from pinax/symposion
-
Notifications
You must be signed in to change notification settings - Fork 9
/
local_settings.py.example
56 lines (45 loc) · 1.55 KB
/
local_settings.py.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
DEBUG = False
TEMPLATE_DEBUG = DEBUG
ADMINS = [
]
DEFAULT_FROM_EMAIL = '[email protected]'
MANGERS = ADMINS
DATABASES = {
"default": {
"ENGINE": "django.db.backends.mysql", # Add "postgresql_psycopg2", "postgresql", "mysql", "sqlite3" or "oracle".
"NAME": "pyconca2013", # Or path to database file if using sqlite3.
"USER": "pyconca2013", # Not used with sqlite3.
"PASSWORD": "password", # Not used with sqlite3.
"HOST": "127.0.0.1", # Set to empty string for localhost. Not used with sqlite3.
"PORT": "", # Set to empty string for default. Not used with sqlite3.
}
}
TIME_ZONE = "America/Toronto"
SECRET_KEY = "keep this very secret"
EMAIL_DEBUG = True # No better clue at this point
# ACCOUNT_* things should probably also get updated here
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTOCOL', 'https')
LOGGING = {
'version': 1,
'disable_existing_loggers': False,
'formatters': {
'verbose': {
'format': '%(levelname)s %(asctime)s %(module)s %(process)d %(thread)d %(message)s'
},
},
'handlers': {
'mail_admins': {
'level': 'ERROR',
'class': 'django.utils.log.AdminEmailHandler',
}
},
'loggers': {
'django.request': {
'handlers': ['mail_admins'],
'level': 'ERROR',
'propagate': False,
},
}
}