Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 319 lines (254 sloc) 11.363 kb
ed114e1 @adrianholovaty Imported Django from private SVN repository (created from r. 8825)
adrianholovaty authored
1 # Default Django settings. Override these with settings in the module
2 # pointed-to by the DJANGO_SETTINGS_MODULE environment variable.
3
ec4a143 @adrianholovaty Made django/utils/translation.py into a package django/utils/translat…
adrianholovaty authored
4 # This is defined here as a do-nothing function because we can't import
5 # django.utils.translation -- that module depends on the settings.
6 gettext_noop = lambda s: s
5cf8f68 @jacobian Merged i18n branch into the trunk! Fixes #65, and perhaps some others…
jacobian authored
7
ed114e1 @adrianholovaty Imported Django from private SVN repository (created from r. 8825)
adrianholovaty authored
8 ####################
9 # CORE #
10 ####################
11
12 DEBUG = False
5d863f1 @adrianholovaty Fixed #603 -- Added template debugging errors to pretty error-page ou…
adrianholovaty authored
13 TEMPLATE_DEBUG = False
ed114e1 @adrianholovaty Imported Django from private SVN repository (created from r. 8825)
adrianholovaty authored
14
15 # Whether to use the "Etag" header. This saves bandwidth but slows down performance.
16 USE_ETAGS = False
17
d3abdd8 @adrianholovaty Removed hard-coded Adrian and Jacob in global_settings.ADMINS
adrianholovaty authored
18 # People who get code error notifications.
19 # In the format (('Full Name', 'email@domain.com'), ('Full Name', 'anotheremail@domain.com'))
20 ADMINS = ()
ed114e1 @adrianholovaty Imported Django from private SVN repository (created from r. 8825)
adrianholovaty authored
21
8c09889 @adrianholovaty Removed World-Online-specific stuff from django.conf.global_settings
adrianholovaty authored
22 # Tuple of IP addresses, as strings, that:
ed114e1 @adrianholovaty Imported Django from private SVN repository (created from r. 8825)
adrianholovaty authored
23 # * See debug comments, when DEBUG is true
24 # * Receive x-headers
8c09889 @adrianholovaty Removed World-Online-specific stuff from django.conf.global_settings
adrianholovaty authored
25 INTERNAL_IPS = ()
ed114e1 @adrianholovaty Imported Django from private SVN repository (created from r. 8825)
adrianholovaty authored
26
27 # Local time zone for this installation. All choices can be found here:
06a5370 @adrianholovaty Fixed #1977 -- Changed postgresql.org URL in global_settings.py and p…
adrianholovaty authored
28 # http://www.postgresql.org/docs/8.1/static/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE
ed114e1 @adrianholovaty Imported Django from private SVN repository (created from r. 8825)
adrianholovaty authored
29 TIME_ZONE = 'America/Chicago'
30
31 # Language code for this installation. All choices can be found here:
32 # http://www.w3.org/TR/REC-html40/struct/dirlang.html#langcodes
33 # http://blogs.law.harvard.edu/tech/stories/storyReader$15
34 LANGUAGE_CODE = 'en-us'
35
9f92a2b @adrianholovaty Renamed 'Traditional Chinese' to 'Simplified Chinese' and updated po …
adrianholovaty authored
36 # Languages we provide translations for, out of the box. The language name
37 # should be the utf-8 encoded local name for the language.
5cf8f68 @jacobian Merged i18n branch into the trunk! Fixes #65, and perhaps some others…
jacobian authored
38 LANGUAGES = (
8c399ba fixed #2302: added arabic translation. thx Ahmad Alhashemi.
Georg Bauer authored
39 ('ar', gettext_noop('Arabic')),
ec4a143 @adrianholovaty Made django/utils/translation.py into a package django/utils/translat…
adrianholovaty authored
40 ('bn', gettext_noop('Bengali')),
41 ('cs', gettext_noop('Czech')),
42 ('cy', gettext_noop('Welsh')),
43 ('da', gettext_noop('Danish')),
44 ('de', gettext_noop('German')),
45 ('el', gettext_noop('Greek')),
46 ('en', gettext_noop('English')),
47 ('es', gettext_noop('Spanish')),
48 ('es_AR', gettext_noop('Argentinean Spanish')),
2535c91 fixed #2617: added finnish translation
Georg Bauer authored
49 ('fi', gettext_noop('Finnish')),
ec4a143 @adrianholovaty Made django/utils/translation.py into a package django/utils/translat…
adrianholovaty authored
50 ('fr', gettext_noop('French')),
51 ('gl', gettext_noop('Galician')),
52 ('hu', gettext_noop('Hungarian')),
53 ('he', gettext_noop('Hebrew')),
54 ('is', gettext_noop('Icelandic')),
55 ('it', gettext_noop('Italian')),
56 ('ja', gettext_noop('Japanese')),
d9953d6 @malcolmt Fixed #3058 -- Added partial Latvia translation from viestards.lists@…
malcolmt authored
57 ('lv', gettext_noop('Latvian')),
ec4a143 @adrianholovaty Made django/utils/translation.py into a package django/utils/translat…
adrianholovaty authored
58 ('nl', gettext_noop('Dutch')),
59 ('no', gettext_noop('Norwegian')),
0d24050 fixed #2911: added polish to the default languages
Georg Bauer authored
60 ('pl', gettext_noop('Polish')),
ec4a143 @adrianholovaty Made django/utils/translation.py into a package django/utils/translat…
adrianholovaty authored
61 ('pt-br', gettext_noop('Brazilian')),
62 ('ro', gettext_noop('Romanian')),
63 ('ru', gettext_noop('Russian')),
64 ('sk', gettext_noop('Slovak')),
65 ('sl', gettext_noop('Slovenian')),
66 ('sr', gettext_noop('Serbian')),
67 ('sv', gettext_noop('Swedish')),
f3e3869 fixed #2371: added tamil translation
Georg Bauer authored
68 ('ta', gettext_noop('Tamil')),
9194038 fixed #2623: added new turkish translation
Georg Bauer authored
69 ('tr', gettext_noop('Turkish')),
ec4a143 @adrianholovaty Made django/utils/translation.py into a package django/utils/translat…
adrianholovaty authored
70 ('uk', gettext_noop('Ukrainian')),
71 ('zh-cn', gettext_noop('Simplified Chinese')),
72 ('zh-tw', gettext_noop('Traditional Chinese')),
5cf8f68 @jacobian Merged i18n branch into the trunk! Fixes #65, and perhaps some others…
jacobian authored
73 )
74
ca19773 fixed #1660: added support functions and tags for bidi language support
Georg Bauer authored
75 # Languages using BiDi (right-to-left) layout
8c399ba fixed #2302: added arabic translation. thx Ahmad Alhashemi.
Georg Bauer authored
76 LANGUAGES_BIDI = ("he", "ar")
ca19773 fixed #1660: added support functions and tags for bidi language support
Georg Bauer authored
77
4a324ba @adrianholovaty Added USE_I18N setting, which lets you turn off internationalization …
adrianholovaty authored
78 # If you set this to False, Django will make some optimizations so as not
79 # to load the internationalization machinery.
80 USE_I18N = True
81
ed114e1 @adrianholovaty Imported Django from private SVN repository (created from r. 8825)
adrianholovaty authored
82 # Not-necessarily-technical managers of the site. They get broken link
83 # notifications and other various e-mails.
84 MANAGERS = ADMINS
85
ab9aacd @adrianholovaty Fixed #333 and #440 -- Split DEFAULT_MIME_TYPE setting into DEFAULT_C…
adrianholovaty authored
86 # Default content type and charset to use for all HttpResponse objects, if a
87 # MIME type isn't manually specified. These are used to construct the
88 # Content-Type header.
89 DEFAULT_CONTENT_TYPE = 'text/html'
90 DEFAULT_CHARSET = 'utf-8'
36fc73a @adrianholovaty Fixed #333 -- Added DEFAULT_MIME_TYPE setting, and set it to 'text/ht…
adrianholovaty authored
91
8c09889 @adrianholovaty Removed World-Online-specific stuff from django.conf.global_settings
adrianholovaty authored
92 # E-mail address that error messages come from.
93 SERVER_EMAIL = 'root@localhost'
ed114e1 @adrianholovaty Imported Django from private SVN repository (created from r. 8825)
adrianholovaty authored
94
8c09889 @adrianholovaty Removed World-Online-specific stuff from django.conf.global_settings
adrianholovaty authored
95 # Whether to send broken-link e-mails.
77faac0 @adrianholovaty Changed SEND_BROKEN_LINK_EMAILS from True to False in global_settings…
adrianholovaty authored
96 SEND_BROKEN_LINK_EMAILS = False
ed114e1 @adrianholovaty Imported Django from private SVN repository (created from r. 8825)
adrianholovaty authored
97
8c09889 @adrianholovaty Removed World-Online-specific stuff from django.conf.global_settings
adrianholovaty authored
98 # Database connection info.
f69cf70 @adrianholovaty MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly backwards…
adrianholovaty authored
99 DATABASE_ENGINE = '' # 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'.
24154b2 @adrianholovaty Fixed #225 -- Added first stab at MS SQL Server support (via ADO). Th…
adrianholovaty authored
100 DATABASE_NAME = '' # Or path to database file if using sqlite3.
101 DATABASE_USER = '' # Not used with sqlite3.
102 DATABASE_PASSWORD = '' # Not used with sqlite3.
103 DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3.
104 DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3.
a84404c @adrianholovaty Formatting fixes from the past round of checkins
adrianholovaty authored
105 DATABASE_OPTIONS = {} # Set to empty dictionary for default.
ed114e1 @adrianholovaty Imported Django from private SVN repository (created from r. 8825)
adrianholovaty authored
106
8c09889 @adrianholovaty Removed World-Online-specific stuff from django.conf.global_settings
adrianholovaty authored
107 # Host for sending e-mail.
ed114e1 @adrianholovaty Imported Django from private SVN repository (created from r. 8825)
adrianholovaty authored
108 EMAIL_HOST = 'localhost'
109
8d70ed4 @adrianholovaty Fixed #1555 -- Added EMAIL_PORT setting. Thanks, bde3
adrianholovaty authored
110 # Port for sending e-mail.
111 EMAIL_PORT = 25
112
fe24eca @adrianholovaty Fixed #1529 -- Added support for authenticated SMTP to django.core.ma…
adrianholovaty authored
113 # Optional SMTP authentication information for EMAIL_HOST.
114 EMAIL_HOST_USER = ''
115 EMAIL_HOST_PASSWORD = ''
116
1873c95 @adrianholovaty Added INSTALLED_APPS to global_settings. It's an empty tuple by default.
adrianholovaty authored
117 # List of strings representing installed apps.
118 INSTALLED_APPS = ()
119
8c09889 @adrianholovaty Removed World-Online-specific stuff from django.conf.global_settings
adrianholovaty authored
120 # List of locations of the template source files, in search order.
121 TEMPLATE_DIRS = ()
ed114e1 @adrianholovaty Imported Django from private SVN repository (created from r. 8825)
adrianholovaty authored
122
7aefff7 @adrianholovaty Fixed #582 -- Added support for loading templates from Python eggs, a…
adrianholovaty authored
123 # List of callables that know how to import templates from various sources.
124 # See the comments in django/core/template/loader.py for interface
125 # documentation.
126 TEMPLATE_LOADERS = (
f69cf70 @adrianholovaty MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly backwards…
adrianholovaty authored
127 'django.template.loaders.filesystem.load_template_source',
128 'django.template.loaders.app_directories.load_template_source',
129 # 'django.template.loaders.eggs.load_template_source',
7aefff7 @adrianholovaty Fixed #582 -- Added support for loading templates from Python eggs, a…
adrianholovaty authored
130 )
131
f69cf70 @adrianholovaty MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly backwards…
adrianholovaty authored
132 # List of processors used by RequestContext to populate the context.
49fd163 @adrianholovaty Fixed #925 -- Added TEMPLATE_CONTEXT_PROCESSORS, which lets you speci…
adrianholovaty authored
133 # Each one should be a callable that takes the request object as its
134 # only parameter and returns a dictionary to add to the context.
135 TEMPLATE_CONTEXT_PROCESSORS = (
136 'django.core.context_processors.auth',
137 'django.core.context_processors.debug',
138 'django.core.context_processors.i18n',
1dc65cb @adrianholovaty Fixed #1271 -- Added a 'request' template context processor, which is…
adrianholovaty authored
139 # 'django.core.context_processors.request',
49fd163 @adrianholovaty Fixed #925 -- Added TEMPLATE_CONTEXT_PROCESSORS, which lets you speci…
adrianholovaty authored
140 )
141
e0c915e @adrianholovaty Added TEMPLATE_STRING_IF_INVALID setting, which specifies what the te…
adrianholovaty authored
142 # Output to use in template system for invalid (e.g. misspelled) variables.
143 TEMPLATE_STRING_IF_INVALID = ''
144
68baafc @adrianholovaty Added ADMIN_MEDIA_PREFIX setting instead of hard-coding /m/
adrianholovaty authored
145 # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
146 # trailing slash.
147 # Examples: "http://foo.com/media/", "/media/".
148 ADMIN_MEDIA_PREFIX = '/media/'
149
8c09889 @adrianholovaty Removed World-Online-specific stuff from django.conf.global_settings
adrianholovaty authored
150 # Default e-mail address to use for various automated correspondence from
151 # the site managers.
152 DEFAULT_FROM_EMAIL = 'webmaster@localhost'
ed114e1 @adrianholovaty Imported Django from private SVN repository (created from r. 8825)
adrianholovaty authored
153
2d1303b @jacobian Added EMAIL_SUBJECT_PREFIX setting so you can customize the "[Django]…
jacobian authored
154 # Subject-line prefix for email messages send with django.core.mail.mail_admins
155 # or ...mail_managers. Make sure to include the trailing space.
156 EMAIL_SUBJECT_PREFIX = '[Django] '
157
8c09889 @adrianholovaty Removed World-Online-specific stuff from django.conf.global_settings
adrianholovaty authored
158 # Whether to append trailing slashes to URLs.
ed114e1 @adrianholovaty Imported Django from private SVN repository (created from r. 8825)
adrianholovaty authored
159 APPEND_SLASH = True
160
8c09889 @adrianholovaty Removed World-Online-specific stuff from django.conf.global_settings
adrianholovaty authored
161 # Whether to prepend the "www." subdomain to URLs that don't have it.
ed114e1 @adrianholovaty Imported Django from private SVN repository (created from r. 8825)
adrianholovaty authored
162 PREPEND_WWW = False
163
8c09889 @adrianholovaty Removed World-Online-specific stuff from django.conf.global_settings
adrianholovaty authored
164 # List of compiled regular expression objects representing User-Agent strings
165 # that are not allowed to visit any page, systemwide. Use this for bad
166 # robots/crawlers. Here are a few examples:
167 # import re
168 # DISALLOWED_USER_AGENTS = (
169 # re.compile(r'^NaverBot.*'),
170 # re.compile(r'^EmailSiphon.*'),
171 # re.compile(r'^SiteSucker.*'),
172 # re.compile(r'^sohu-search')
173 # )
174 DISALLOWED_USER_AGENTS = ()
ed114e1 @adrianholovaty Imported Django from private SVN repository (created from r. 8825)
adrianholovaty authored
175
176 ABSOLUTE_URL_OVERRIDES = {}
177
8c09889 @adrianholovaty Removed World-Online-specific stuff from django.conf.global_settings
adrianholovaty authored
178 # Tuple of strings representing allowed prefixes for the {% ssi %} tag.
179 # Example: ('/home/html', '/var/www')
180 ALLOWED_INCLUDE_ROOTS = ()
ed114e1 @adrianholovaty Imported Django from private SVN repository (created from r. 8825)
adrianholovaty authored
181
8c09889 @adrianholovaty Removed World-Online-specific stuff from django.conf.global_settings
adrianholovaty authored
182 # If this is a admin settings module, this should be a list of
183 # settings modules (in the format 'foo.bar.baz') for which this admin
184 # is an admin.
8b7ebca @adrianholovaty Changed global_settings.ADMIN_FOR from [] to ()
adrianholovaty authored
185 ADMIN_FOR = ()
ed114e1 @adrianholovaty Imported Django from private SVN repository (created from r. 8825)
adrianholovaty authored
186
8c09889 @adrianholovaty Removed World-Online-specific stuff from django.conf.global_settings
adrianholovaty authored
187 # 404s that may be ignored.
ed114e1 @adrianholovaty Imported Django from private SVN repository (created from r. 8825)
adrianholovaty authored
188 IGNORABLE_404_STARTS = ('/cgi-bin/', '/_vti_bin', '/_vti_inf')
189 IGNORABLE_404_ENDS = ('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php')
190
897d24b @adrianholovaty Fixed #95 -- Added SECRET_KEY setting instead of hard-coding keys tha…
adrianholovaty authored
191 # A secret key for this particular Django installation. Used in secret-key
192 # hashing algorithms. Set this in your settings, or Django will complain
193 # loudly.
194 SECRET_KEY = ''
195
cd34c16 @jacobian Moved JING from django.core.validators into settings where it belongs…
jacobian authored
196 # Path to the "jing" executable -- needed to validate XMLFields
837afc5 @jacobian Changed default JING_PATH setting to be something that might actually…
jacobian authored
197 JING_PATH = "/usr/bin/jing"
cd34c16 @jacobian Moved JING from django.core.validators into settings where it belongs…
jacobian authored
198
5defabc @adrianholovaty Reordered MEDIA_ROOT and MEDIA_URL in global_settings so they're not …
adrianholovaty authored
199 # Absolute path to the directory that holds media.
200 # Example: "/home/media/media.lawrence.com/"
201 MEDIA_ROOT = ''
202
203 # URL that handles the media served from MEDIA_ROOT.
204 # Example: "http://media.lawrence.com"
205 MEDIA_URL = ''
206
d4df074 @adrianholovaty Fixed #109 -- Created DATE_FORMAT, DATETIME_FORMAT and TIME_FORMAT se…
adrianholovaty authored
207 # Default formatting for date objects. See all available format strings here:
208 # http://www.djangoproject.com/documentation/templates/#now
209 DATE_FORMAT = 'N j, Y'
210
211 # Default formatting for datetime objects. See all available format strings here:
212 # http://www.djangoproject.com/documentation/templates/#now
213 DATETIME_FORMAT = 'N j, Y, P'
214
215 # Default formatting for time objects. See all available format strings here:
216 # http://www.djangoproject.com/documentation/templates/#now
217 TIME_FORMAT = 'P'
218
ab2fb16 @adrianholovaty Fixed #2062 -- Added YEAR_MONTH_FORMAT and MONTH_DAY_FORMAT settings,…
adrianholovaty authored
219 # Default formatting for date objects when only the year and month are relevant.
220 # See all available format strings here:
221 # http://www.djangoproject.com/documentation/templates/#now
222 YEAR_MONTH_FORMAT = 'F Y'
223
224 # Default formatting for date objects when only the month and day are relevant.
225 # See all available format strings here:
226 # http://www.djangoproject.com/documentation/templates/#now
227 MONTH_DAY_FORMAT = 'F j'
228
f69cf70 @adrianholovaty MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly backwards…
adrianholovaty authored
229 # Do you want to manage transactions manually?
230 # Hint: you really don't!
231 TRANSACTIONS_MANAGED = False
232
4d59730 @jacobian Fixed #2934: greatly improved the accuracy if the isExistingURL check…
jacobian authored
233 # The User-Agent string to use when checking for URL validity through the
234 # isExistingURL validator.
235 URL_VALIDATOR_USER_AGENT = "Django/0.96pre (http://www.djangoproject.com)"
236
ed114e1 @adrianholovaty Imported Django from private SVN repository (created from r. 8825)
adrianholovaty authored
237 ##############
8c09889 @adrianholovaty Removed World-Online-specific stuff from django.conf.global_settings
adrianholovaty authored
238 # MIDDLEWARE #
ed114e1 @adrianholovaty Imported Django from private SVN repository (created from r. 8825)
adrianholovaty authored
239 ##############
240
241 # List of middleware classes to use. Order is important; in the request phase,
242 # this middleware classes will be applied in the order given, and in the
243 # response phase the middleware will be applied in reverse order.
244 MIDDLEWARE_CLASSES = (
be25b66 @adrianholovaty Fixed #1998 -- Changed double quotes to single quotes
adrianholovaty authored
245 'django.contrib.sessions.middleware.SessionMiddleware',
246 'django.contrib.auth.middleware.AuthenticationMiddleware',
247 # 'django.middleware.http.ConditionalGetMiddleware',
248 # 'django.middleware.gzip.GZipMiddleware',
249 'django.middleware.common.CommonMiddleware',
250 'django.middleware.doc.XViewMiddleware',
ed114e1 @adrianholovaty Imported Django from private SVN repository (created from r. 8825)
adrianholovaty authored
251 )
252
07889c1 @adrianholovaty Fixed #1 -- Added anonymous session support via middleware and reques…
adrianholovaty authored
253 ############
254 # SESSIONS #
255 ############
256
e6745d3 @adrianholovaty Fixed #857 -- Changed default session cookie name from hotclub to ses…
adrianholovaty authored
257 SESSION_COOKIE_NAME = 'sessionid' # Cookie name. This can be whatever you want.
07889c1 @adrianholovaty Fixed #1 -- Added anonymous session support via middleware and reques…
adrianholovaty authored
258 SESSION_COOKIE_AGE = 60 * 60 * 24 * 7 * 2 # Age of cookie, in seconds (default: 2 weeks).
259 SESSION_COOKIE_DOMAIN = None # A string like ".lawrence.com", or None for standard domain cookie.
45be33a @adrianholovaty Fixed #2523 -- Added SESSION_COOKIE_SECURE setting. Thanks, mir@noris.de
adrianholovaty authored
260 SESSION_COOKIE_SECURE = False # Whether the session cookie should be secure (https:// only).
3895a82 @adrianholovaty Added SESSION_SAVE_EVERY_REQUEST setting.
adrianholovaty authored
261 SESSION_SAVE_EVERY_REQUEST = False # Whether to save the session data on every request.
26b61aa @adrianholovaty Fixed #395 -- Added SESSION_EXPIRE_AT_BROWSER_CLOSE setting, which re…
adrianholovaty authored
262 SESSION_EXPIRE_AT_BROWSER_CLOSE = False # Whether sessions expire when a user closes his browser.
07889c1 @adrianholovaty Fixed #1 -- Added anonymous session support via middleware and reques…
adrianholovaty authored
263
ed114e1 @adrianholovaty Imported Django from private SVN repository (created from r. 8825)
adrianholovaty authored
264 #########
265 # CACHE #
266 #########
267
268 # The cache backend to use. See the docstring in django.core.cache for the
8c09889 @adrianholovaty Removed World-Online-specific stuff from django.conf.global_settings
adrianholovaty authored
269 # possible values.
ed114e1 @adrianholovaty Imported Django from private SVN repository (created from r. 8825)
adrianholovaty authored
270 CACHE_BACKEND = 'simple://'
b6fd05e @adrianholovaty Added CACHE_MIDDLEWARE_KEY_PREFIX to global_settings
adrianholovaty authored
271 CACHE_MIDDLEWARE_KEY_PREFIX = ''
ed114e1 @adrianholovaty Imported Django from private SVN repository (created from r. 8825)
adrianholovaty authored
272
273 ####################
274 # COMMENTS #
275 ####################
276
277 COMMENTS_ALLOW_PROFANITIES = False
278
b46a093 @malcolmt Fixed #2678 -- Moved the list of profanities for the hasNoProfanities…
malcolmt authored
279 # The profanities that will trigger a validation error in the
321a59a @adrianholovaty Small improvements to profanities-to-settings move from [3784]
adrianholovaty authored
280 # 'hasNoProfanities' validator. All of these should be in lowercase.
281 PROFANITIES_LIST = ('asshat', 'asshead', 'asshole', 'cunt', 'fuck', 'gook', 'nigger', 'shit')
b46a093 @malcolmt Fixed #2678 -- Moved the list of profanities for the hasNoProfanities…
malcolmt authored
282
ed114e1 @adrianholovaty Imported Django from private SVN repository (created from r. 8825)
adrianholovaty authored
283 # The group ID that designates which users are banned.
284 # Set to None if you're not using it.
8c09889 @adrianholovaty Removed World-Online-specific stuff from django.conf.global_settings
adrianholovaty authored
285 COMMENTS_BANNED_USERS_GROUP = None
ed114e1 @adrianholovaty Imported Django from private SVN repository (created from r. 8825)
adrianholovaty authored
286
287 # The group ID that designates which users can moderate comments.
288 # Set to None if you're not using it.
8c09889 @adrianholovaty Removed World-Online-specific stuff from django.conf.global_settings
adrianholovaty authored
289 COMMENTS_MODERATORS_GROUP = None
ed114e1 @adrianholovaty Imported Django from private SVN repository (created from r. 8825)
adrianholovaty authored
290
291 # The group ID that designates the users whose comments should be e-mailed to MANAGERS.
292 # Set to None if you're not using it.
8c09889 @adrianholovaty Removed World-Online-specific stuff from django.conf.global_settings
adrianholovaty authored
293 COMMENTS_SKETCHY_USERS_GROUP = None
ed114e1 @adrianholovaty Imported Django from private SVN repository (created from r. 8825)
adrianholovaty authored
294
295 # The system will e-mail MANAGERS the first COMMENTS_FIRST_FEW comments by each
296 # user. Set this to 0 if you want to disable it.
8c09889 @adrianholovaty Removed World-Online-specific stuff from django.conf.global_settings
adrianholovaty authored
297 COMMENTS_FIRST_FEW = 0
ed114e1 @adrianholovaty Imported Django from private SVN repository (created from r. 8825)
adrianholovaty authored
298
8c09889 @adrianholovaty Removed World-Online-specific stuff from django.conf.global_settings
adrianholovaty authored
299 # A tuple of IP addresses that have been banned from participating in various
300 # Django-powered features.
301 BANNED_IPS = ()
aab3a41 @jacobian Merged multi-auth branch to trunk. See the authentication docs for t…
jacobian authored
302
303 ##################
304 # AUTHENTICATION #
305 ##################
306
307 AUTHENTICATION_BACKENDS = ('django.contrib.auth.backends.ModelBackend',)
77ab11b @freakboy3742 Refs #2333 - Added 'test' target to django-admin script. Includes add…
freakboy3742 authored
308
309 ###########
310 # TESTING #
311 ###########
312
d78e2ae @freakboy3742 Refs #2333 - Added a TEST_DATABASE_NAME setting that can be used to o…
freakboy3742 authored
313 # The name of the method to use to invoke the test suite
314 TEST_RUNNER = 'django.test.simple.run_tests'
315
316 # The name of the database to use for testing purposes.
317 # If None, a name of 'test_' + DATABASE_NAME will be assumed
318 TEST_DATABASE_NAME = None
Something went wrong with that request. Please try again.