forked from cartwheelweb/packaginator
-
Notifications
You must be signed in to change notification settings - Fork 2
/
local_settings.py.example
54 lines (41 loc) · 1.67 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
import logging
DATABASES = {
"default": {
"ENGINE": "postgresql_psycopg2", # Add "postgresql_psycopg2", "postgresql", "mysql", "sqlite3" or "oracle".
"NAME": "packaginator", # Or path to database file if using sqlite3.
"USER": "postgres", # Not used with sqlite3.
"PASSWORD": "", # Not used with sqlite3.
"HOST": "localhost", # Set to empty string for localhost. Not used with sqlite3.
"PORT": "5432", # 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 = "packaginator.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', )