· 8 years ago · Jul 28, 2017, 02:36 PM
1# pylint: disable-all
2"""
3settings_local.py
4
5Change site-specific settings here.
6"""
7
8from settings_default import *
9
10"""
11There's a list of settings that you will probably override.
12"""
13
14"""
15DEBUG
16
17Turns Django into development mode.
18
19Default: False
20"""
21#DEBUG = False
22
23"""
24TEMPLATE_DEBUG
25
26Additional debug data for templates.
27
28Default: False
29"""
30#TEMPLATE_DEBUG = False
31
32"""
33TEMPLATE_CACHING
34
35Specifies whether templates should be cached or not.
36
37Default: True
38"""
39#TEMPLATE_CACHING = True
40
41"""
42INTERNAL_IPS
43
44Used by django-debug-toolbar.
45
46Default: ('127.0.0.1',)
47"""
48#INTERNAL_IPS = ('127.0.0.1',)
49
50"""
51ADMINS
52
53A list of chaps maintaining the app.
54
55Default: ()
56"""
57#ADMINS = (
58# ('John Doe', 'joe@doe.com'),
59#)
60
61"""
62DATABASES
63
64Database-stuff.
65
66Default: SQLite database
67"""
68#DATABASES = {
69# 'default': {
70# # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3'.
71# 'ENGINE': 'django.db.backends.sqlite3',
72# # Or path to database file if using sqlite3.
73# 'NAME': PROJECT_DIR + '/teerace.sqlite',
74# # Not used with sqlite3.
75# 'USER': '',
76# # Not used with sqlite3.
77# 'PASSWORD': '',
78# # Set to empty string for localhost. Not used with sqlite3.
79# 'HOST': '',
80# # Set to empty string for default. Not used with sqlite3.
81# 'PORT': '',
82# }
83#}
84
85"""
86CACHE_BACKEND
87
88Default: cache will be stored in local RAM.
89With memcached: 'johnny.backends.memcached://localhost:11211/'
90"""
91CACHE_BACKEND = 'johnny.backends.memcached://localhost:11211/'
92
93"""
94WEBMASTER_EMAIL
95
96E-mail address displayed when 404/500 is raised.
97
98Default: ""
99"""
100#WEBMASTER_EMAIL = ''
101
102"""
103RECAPTCHA_PUBLIC_KEY
104
105
106
107Default: ""
108"""
109#RECAPTCHA_PUBLIC_KEY = ''
110
111"""
112RECAPTCHA_PRIVATE_KEY
113
114
115
116Default: ""
117"""
118#RECAPTCHA_PRIVATE_KEY = ''
119
120
121"""
122SECRET_KEY
123
124The Answer to the Ultimate Question of Life, the Universe, and Everything.
125
126Default: "foobar" (PLEASE CHANGE THAT)
127"""
128#SECRET_KEY = 'foobar'
129
130"""
131BROKER_HOST
132
133Hostname of the broker.
134"""
135#BROKER_HOST = "localhost"
136
137"""
138BROKER_PORT
139
140Custom port of the broker.
141Default is to use the default port for the selected backend.
142"""
143#BROKER_PORT = 5672
144
145"""
146BROKER_USER
147
148Username to connect as.
149"""
150#BROKER_USER = "guest"
151
152"""
153BROKER_PASSWORD
154
155Password to connect with.
156"""
157#BROKER_PASSWORD = "guest"
158
159"""
160MIDDLEWARE_CLASSES
161
162You might want to add some debug stuff here.
163"""
164#MIDDLEWARE_CLASSES = MIDDLEWARE_CLASSES + ()
165
166
167"""
168INSTALLED_APPS
169
170You might want to add some debug stuff here.
171"""
172#INSTALLED_APPS = INSTALLED_APPS + ()
173
174ANALYTICS_ID = 'UA-20347757-4'