-
Notifications
You must be signed in to change notification settings - Fork 1
/
local_settings.py.example
62 lines (49 loc) · 2.27 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
57
58
59
60
61
62
import logging
DATABASES = {
"default": {
"ENGINE": "sqlite3", # Add "postgresql_psycopg2", "postgresql", "mysql", "sqlite3" or "oracle".
"NAME": "dev.db", # Or path to database file if using sqlite3.
"USER": "", # Not used with sqlite3.
"PASSWORD": "", # 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.
},
"postgres": {
"ENGINE": "postgresql_psycopg2", # Add "postgresql_psycopg2", "postgresql", "mysql", "sqlite3" or "oracle".
"NAME": "pg_user", # Or path to database file if using sqlite3.
"USER": "pg_password", # Not used with sqlite3.
"PASSWORD": "", # 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.
}
}
DEBUG = True
TEMPLATE_DEBUG = DEBUG
SERVE_MEDIA = DEBUG
#TEST_RUNNER = 'testrunner.OurTestRunner'
logging.basicConfig(
level=logging.DEBUG,
format='%(asctime)s %(levelname)s "%(message)s" in %(funcName)s() line %(lineno)d in %(pathname)s',
filename='main.log',
filemode='a',
)
LOCAL_INSTALLED_APPS = []
ROOT_URLCONF = "garbaginator.urls"
LAUNCHPAD_ACTIVE = False
# Analytics ID
URCHIN_ID = ""
# Email Settings
DEFAULT_FROM_EMAIL = \
'Django Packages <[email protected]>'
EMAIL_SUBJECT_PREFIX = '[Django Packages] '
# Make this unique, and don't share it with anybody.
SECRET_KEY = "CHANGE-THIS-KEY-TO-SOMETHING-ELSE"
# You can remove this after you change your SECRET_KEY
if SECRET_KEY == "CHANGE-THIS-KEY-TO-SOMETHING-ELSE":
raise Exception('You must change your SECRET_KEY settings in '
'local_settings.py.')
# See http://celeryproject.org/docs/configuration.html#task-execution-settings
CELERY_ALWAYS_EAGER = True
CELERY_EAGER_PROPAGATES_EXCEPTIONS = True
BROKER_BACKEND = "django"
LOCAL_INSTALLED_APPS = ('djkombu', )