Hello site
[auf_framonde.git] / eggs / Django-1.4.5-py2.7.egg / django / conf / global_settings.py
1 # Default Django settings. Override these with settings in the module
2 # pointed-to by the DJANGO_SETTINGS_MODULE environment variable.
3
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
7
8 ####################
9 # CORE #
10 ####################
11
12 DEBUG = False
13 TEMPLATE_DEBUG = False
14
15 # Whether the framework should propagate raw exceptions rather than catching
16 # them. This is useful under some testing situations and should never be used
17 # on a live site.
18 DEBUG_PROPAGATE_EXCEPTIONS = False
19
20 # Whether to use the "Etag" header. This saves bandwidth but slows down performance.
21 USE_ETAGS = False
22
23 # People who get code error notifications.
24 # In the format (('Full Name', 'email@example.com'), ('Full Name', 'anotheremail@example.com'))
25 ADMINS = ()
26
27 # Tuple of IP addresses, as strings, that:
28 # * See debug comments, when DEBUG is true
29 # * Receive x-headers
30 INTERNAL_IPS = ()
31
32 # Hosts/domain names that are valid for this site.
33 # "*" matches anything, ".example.com" matches example.com and all subdomains
34 ALLOWED_HOSTS = ['*']
35
36 # Local time zone for this installation. All choices can be found here:
37 # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name (although not all
38 # systems may support all possibilities). When USE_TZ is True, this is
39 # interpreted as the default user time zone.
40 TIME_ZONE = 'America/Chicago'
41
42 # If you set this to True, Django will use timezone-aware datetimes.
43 USE_TZ = False
44
45 # Language code for this installation. All choices can be found here:
46 # http://www.i18nguy.com/unicode/language-identifiers.html
47 LANGUAGE_CODE = 'en-us'
48
49 # Languages we provide translations for, out of the box. The language name
50 # should be the utf-8 encoded local name for the language.
51 LANGUAGES = (
52 ('ar', gettext_noop('Arabic')),
53 ('az', gettext_noop('Azerbaijani')),
54 ('bg', gettext_noop('Bulgarian')),
55 ('bn', gettext_noop('Bengali')),
56 ('bs', gettext_noop('Bosnian')),
57 ('ca', gettext_noop('Catalan')),
58 ('cs', gettext_noop('Czech')),
59 ('cy', gettext_noop('Welsh')),
60 ('da', gettext_noop('Danish')),
61 ('de', gettext_noop('German')),
62 ('el', gettext_noop('Greek')),
63 ('en', gettext_noop('English')),
64 ('en-gb', gettext_noop('British English')),
65 ('eo', gettext_noop('Esperanto')),
66 ('es', gettext_noop('Spanish')),
67 ('es-ar', gettext_noop('Argentinian Spanish')),
68 ('es-mx', gettext_noop('Mexican Spanish')),
69 ('es-ni', gettext_noop('Nicaraguan Spanish')),
70 ('et', gettext_noop('Estonian')),
71 ('eu', gettext_noop('Basque')),
72 ('fa', gettext_noop('Persian')),
73 ('fi', gettext_noop('Finnish')),
74 ('fr', gettext_noop('French')),
75 ('fy-nl', gettext_noop('Frisian')),
76 ('ga', gettext_noop('Irish')),
77 ('gl', gettext_noop('Galician')),
78 ('he', gettext_noop('Hebrew')),
79 ('hi', gettext_noop('Hindi')),
80 ('hr', gettext_noop('Croatian')),
81 ('hu', gettext_noop('Hungarian')),
82 ('id', gettext_noop('Indonesian')),
83 ('is', gettext_noop('Icelandic')),
84 ('it', gettext_noop('Italian')),
85 ('ja', gettext_noop('Japanese')),
86 ('ka', gettext_noop('Georgian')),
87 ('kk', gettext_noop('Kazakh')),
88 ('km', gettext_noop('Khmer')),
89 ('kn', gettext_noop('Kannada')),
90 ('ko', gettext_noop('Korean')),
91 ('lt', gettext_noop('Lithuanian')),
92 ('lv', gettext_noop('Latvian')),
93 ('mk', gettext_noop('Macedonian')),
94 ('ml', gettext_noop('Malayalam')),
95 ('mn', gettext_noop('Mongolian')),
96 ('nb', gettext_noop('Norwegian Bokmal')),
97 ('ne', gettext_noop('Nepali')),
98 ('nl', gettext_noop('Dutch')),
99 ('nn', gettext_noop('Norwegian Nynorsk')),
100 ('pa', gettext_noop('Punjabi')),
101 ('pl', gettext_noop('Polish')),
102 ('pt', gettext_noop('Portuguese')),
103 ('pt-br', gettext_noop('Brazilian Portuguese')),
104 ('ro', gettext_noop('Romanian')),
105 ('ru', gettext_noop('Russian')),
106 ('sk', gettext_noop('Slovak')),
107 ('sl', gettext_noop('Slovenian')),
108 ('sq', gettext_noop('Albanian')),
109 ('sr', gettext_noop('Serbian')),
110 ('sr-latn', gettext_noop('Serbian Latin')),
111 ('sv', gettext_noop('Swedish')),
112 ('sw', gettext_noop('Swahili')),
113 ('ta', gettext_noop('Tamil')),
114 ('te', gettext_noop('Telugu')),
115 ('th', gettext_noop('Thai')),
116 ('tr', gettext_noop('Turkish')),
117 ('tt', gettext_noop('Tatar')),
118 ('uk', gettext_noop('Ukrainian')),
119 ('ur', gettext_noop('Urdu')),
120 ('vi', gettext_noop('Vietnamese')),
121 ('zh-cn', gettext_noop('Simplified Chinese')),
122 ('zh-tw', gettext_noop('Traditional Chinese')),
123 )
124
125 # Languages using BiDi (right-to-left) layout
126 LANGUAGES_BIDI = ("he", "ar", "fa")
127
128 # If you set this to False, Django will make some optimizations so as not
129 # to load the internationalization machinery.
130 USE_I18N = True
131 LOCALE_PATHS = ()
132 LANGUAGE_COOKIE_NAME = 'django_language'
133
134 # If you set this to True, Django will format dates, numbers and calendars
135 # according to user current locale.
136 USE_L10N = False
137
138 # Not-necessarily-technical managers of the site. They get broken link
139 # notifications and other various emails.
140 MANAGERS = ADMINS
141
142 # Default content type and charset to use for all HttpResponse objects, if a
143 # MIME type isn't manually specified. These are used to construct the
144 # Content-Type header.
145 DEFAULT_CONTENT_TYPE = 'text/html'
146 DEFAULT_CHARSET = 'utf-8'
147
148 # Encoding of files read from disk (template and initial SQL files).
149 FILE_CHARSET = 'utf-8'
150
151 # E-mail address that error messages come from.
152 SERVER_EMAIL = 'root@localhost'
153
154 # Whether to send broken-link emails.
155 SEND_BROKEN_LINK_EMAILS = False
156
157 # Database connection info.
158 DATABASES = {
159 'default': {
160 'ENGINE': 'django.db.backends.dummy',
161 },
162 }
163
164 # Classes used to implement DB routing behavior.
165 DATABASE_ROUTERS = []
166
167 # The email backend to use. For possible shortcuts see django.core.mail.
168 # The default is to use the SMTP backend.
169 # Third-party backends can be specified by providing a Python path
170 # to a module that defines an EmailBackend class.
171 EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
172
173 # Host for sending email.
174 EMAIL_HOST = 'localhost'
175
176 # Port for sending email.
177 EMAIL_PORT = 25
178
179 # Optional SMTP authentication information for EMAIL_HOST.
180 EMAIL_HOST_USER = ''
181 EMAIL_HOST_PASSWORD = ''
182 EMAIL_USE_TLS = False
183
184 # List of strings representing installed apps.
185 INSTALLED_APPS = ()
186
187 # List of locations of the template source files, in search order.
188 TEMPLATE_DIRS = ()
189
190 # List of callables that know how to import templates from various sources.
191 # See the comments in django/core/template/loader.py for interface
192 # documentation.
193 TEMPLATE_LOADERS = (
194 'django.template.loaders.filesystem.Loader',
195 'django.template.loaders.app_directories.Loader',
196 # 'django.template.loaders.eggs.Loader',
197 )
198
199 # List of processors used by RequestContext to populate the context.
200 # Each one should be a callable that takes the request object as its
201 # only parameter and returns a dictionary to add to the context.
202 TEMPLATE_CONTEXT_PROCESSORS = (
203 'django.contrib.auth.context_processors.auth',
204 'django.core.context_processors.debug',
205 'django.core.context_processors.i18n',
206 'django.core.context_processors.media',
207 'django.core.context_processors.static',
208 'django.core.context_processors.tz',
209 # 'django.core.context_processors.request',
210 'django.contrib.messages.context_processors.messages',
211 )
212
213 # Output to use in template system for invalid (e.g. misspelled) variables.
214 TEMPLATE_STRING_IF_INVALID = ''
215
216 # Default email address to use for various automated correspondence from
217 # the site managers.
218 DEFAULT_FROM_EMAIL = 'webmaster@localhost'
219
220 # Subject-line prefix for email messages send with django.core.mail.mail_admins
221 # or ...mail_managers. Make sure to include the trailing space.
222 EMAIL_SUBJECT_PREFIX = '[Django] '
223
224 # Whether to append trailing slashes to URLs.
225 APPEND_SLASH = True
226
227 # Whether to prepend the "www." subdomain to URLs that don't have it.
228 PREPEND_WWW = False
229
230 # Override the server-derived value of SCRIPT_NAME
231 FORCE_SCRIPT_NAME = None
232
233 # List of compiled regular expression objects representing User-Agent strings
234 # that are not allowed to visit any page, systemwide. Use this for bad
235 # robots/crawlers. Here are a few examples:
236 # import re
237 # DISALLOWED_USER_AGENTS = (
238 # re.compile(r'^NaverBot.*'),
239 # re.compile(r'^EmailSiphon.*'),
240 # re.compile(r'^SiteSucker.*'),
241 # re.compile(r'^sohu-search')
242 # )
243 DISALLOWED_USER_AGENTS = ()
244
245 ABSOLUTE_URL_OVERRIDES = {}
246
247 # Tuple of strings representing allowed prefixes for the {% ssi %} tag.
248 # Example: ('/home/html', '/var/www')
249 ALLOWED_INCLUDE_ROOTS = ()
250
251 # If this is a admin settings module, this should be a list of
252 # settings modules (in the format 'foo.bar.baz') for which this admin
253 # is an admin.
254 ADMIN_FOR = ()
255
256 # List of compiled regular expression objects representing URLs that need not
257 # be reported when SEND_BROKEN_LINK_EMAILS is True. Here are a few examples:
258 # import re
259 # IGNORABLE_404_URLS = (
260 # re.compile(r'^/apple-touch-icon.*\.png$'),
261 # re.compile(r'^/favicon.ico$),
262 # re.compile(r'^/robots.txt$),
263 # re.compile(r'^/phpmyadmin/),
264 # re.compile(r'\.(cgi|php|pl)$'),
265 # )
266 IGNORABLE_404_URLS = ()
267
268 # A secret key for this particular Django installation. Used in secret-key
269 # hashing algorithms. Set this in your settings, or Django will complain
270 # loudly.
271 SECRET_KEY = ''
272
273 # Default file storage mechanism that holds media.
274 DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
275
276 # Absolute filesystem path to the directory that will hold user-uploaded files.
277 # Example: "/home/media/media.lawrence.com/media/"
278 MEDIA_ROOT = ''
279
280 # URL that handles the media served from MEDIA_ROOT.
281 # Example: "http://media.lawrence.com/media/"
282 MEDIA_URL = ''
283
284 # Absolute path to the directory that holds static files.
285 # Example: "/home/media/media.lawrence.com/static/"
286 STATIC_ROOT = ''
287
288 # URL that handles the static files served from STATIC_ROOT.
289 # Example: "http://media.lawrence.com/static/"
290 STATIC_URL = None
291
292 # List of upload handler classes to be applied in order.
293 FILE_UPLOAD_HANDLERS = (
294 'django.core.files.uploadhandler.MemoryFileUploadHandler',
295 'django.core.files.uploadhandler.TemporaryFileUploadHandler',
296 )
297
298 # Maximum size, in bytes, of a request before it will be streamed to the
299 # file system instead of into memory.
300 FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440 # i.e. 2.5 MB
301
302 # Directory in which upload streamed files will be temporarily saved. A value of
303 # `None` will make Django use the operating system's default temporary directory
304 # (i.e. "/tmp" on *nix systems).
305 FILE_UPLOAD_TEMP_DIR = None
306
307 # The numeric mode to set newly-uploaded files to. The value should be a mode
308 # you'd pass directly to os.chmod; see http://docs.python.org/lib/os-file-dir.html.
309 FILE_UPLOAD_PERMISSIONS = None
310
311 # Python module path where user will place custom format definition.
312 # The directory where this setting is pointing should contain subdirectories
313 # named as the locales, containing a formats.py file
314 # (i.e. "myproject.locale" for myproject/locale/en/formats.py etc. use)
315 FORMAT_MODULE_PATH = None
316
317 # Default formatting for date objects. See all available format strings here:
318 # http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
319 DATE_FORMAT = 'N j, Y'
320
321 # Default formatting for datetime objects. See all available format strings here:
322 # http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
323 DATETIME_FORMAT = 'N j, Y, P'
324
325 # Default formatting for time objects. See all available format strings here:
326 # http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
327 TIME_FORMAT = 'P'
328
329 # Default formatting for date objects when only the year and month are relevant.
330 # See all available format strings here:
331 # http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
332 YEAR_MONTH_FORMAT = 'F Y'
333
334 # Default formatting for date objects when only the month and day are relevant.
335 # See all available format strings here:
336 # http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
337 MONTH_DAY_FORMAT = 'F j'
338
339 # Default short formatting for date objects. See all available format strings here:
340 # http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
341 SHORT_DATE_FORMAT = 'm/d/Y'
342
343 # Default short formatting for datetime objects.
344 # See all available format strings here:
345 # http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
346 SHORT_DATETIME_FORMAT = 'm/d/Y P'
347
348 # Default formats to be used when parsing dates from input boxes, in order
349 # See all available format string here:
350 # http://docs.python.org/library/datetime.html#strftime-behavior
351 # * Note that these format strings are different from the ones to display dates
352 DATE_INPUT_FORMATS = (
353 '%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', # '2006-10-25', '10/25/2006', '10/25/06'
354 '%b %d %Y', '%b %d, %Y', # 'Oct 25 2006', 'Oct 25, 2006'
355 '%d %b %Y', '%d %b, %Y', # '25 Oct 2006', '25 Oct, 2006'
356 '%B %d %Y', '%B %d, %Y', # 'October 25 2006', 'October 25, 2006'
357 '%d %B %Y', '%d %B, %Y', # '25 October 2006', '25 October, 2006'
358 )
359
360 # Default formats to be used when parsing times from input boxes, in order
361 # See all available format string here:
362 # http://docs.python.org/library/datetime.html#strftime-behavior
363 # * Note that these format strings are different from the ones to display dates
364 TIME_INPUT_FORMATS = (
365 '%H:%M:%S', # '14:30:59'
366 '%H:%M', # '14:30'
367 )
368
369 # Default formats to be used when parsing dates and times from input boxes,
370 # in order
371 # See all available format string here:
372 # http://docs.python.org/library/datetime.html#strftime-behavior
373 # * Note that these format strings are different from the ones to display dates
374 DATETIME_INPUT_FORMATS = (
375 '%Y-%m-%d %H:%M:%S', # '2006-10-25 14:30:59'
376 '%Y-%m-%d %H:%M:%S.%f', # '2006-10-25 14:30:59.000200'
377 '%Y-%m-%d %H:%M', # '2006-10-25 14:30'
378 '%Y-%m-%d', # '2006-10-25'
379 '%m/%d/%Y %H:%M:%S', # '10/25/2006 14:30:59'
380 '%m/%d/%Y %H:%M:%S.%f', # '10/25/2006 14:30:59.000200'
381 '%m/%d/%Y %H:%M', # '10/25/2006 14:30'
382 '%m/%d/%Y', # '10/25/2006'
383 '%m/%d/%y %H:%M:%S', # '10/25/06 14:30:59'
384 '%m/%d/%y %H:%M:%S.%f', # '10/25/06 14:30:59.000200'
385 '%m/%d/%y %H:%M', # '10/25/06 14:30'
386 '%m/%d/%y', # '10/25/06'
387 )
388
389 # First day of week, to be used on calendars
390 # 0 means Sunday, 1 means Monday...
391 FIRST_DAY_OF_WEEK = 0
392
393 # Decimal separator symbol
394 DECIMAL_SEPARATOR = '.'
395
396 # Boolean that sets whether to add thousand separator when formatting numbers
397 USE_THOUSAND_SEPARATOR = False
398
399 # Number of digits that will be together, when splitting them by
400 # THOUSAND_SEPARATOR. 0 means no grouping, 3 means splitting by thousands...
401 NUMBER_GROUPING = 0
402
403 # Thousand separator symbol
404 THOUSAND_SEPARATOR = ','
405
406 # Do you want to manage transactions manually?
407 # Hint: you really don't!
408 TRANSACTIONS_MANAGED = False
409
410 # The User-Agent string to use when checking for URL validity through the
411 # isExistingURL validator.
412 from django import get_version
413 URL_VALIDATOR_USER_AGENT = "Django/%s (https://www.djangoproject.com)" % get_version()
414
415 # The tablespaces to use for each model when not specified otherwise.
416 DEFAULT_TABLESPACE = ''
417 DEFAULT_INDEX_TABLESPACE = ''
418
419 # Default X-Frame-Options header value
420 X_FRAME_OPTIONS = 'SAMEORIGIN'
421
422 USE_X_FORWARDED_HOST = False
423
424 # The Python dotted path to the WSGI application that Django's internal servers
425 # (runserver, runfcgi) will use. If `None`, the return value of
426 # 'django.core.wsgi.get_wsgi_application' is used, thus preserving the same
427 # behavior as previous versions of Django. Otherwise this should point to an
428 # actual WSGI application object.
429 WSGI_APPLICATION = None
430
431 # If your Django app is behind a proxy that sets a header to specify secure
432 # connections, AND that proxy ensures that user-submitted headers with the
433 # same name are ignored (so that people can't spoof it), set this value to
434 # a tuple of (header_name, header_value). For any requests that come in with
435 # that header/value, request.is_secure() will return True.
436 # WARNING! Only set this if you fully understand what you're doing. Otherwise,
437 # you may be opening yourself up to a security risk.
438 SECURE_PROXY_SSL_HEADER = None
439
440 ##############
441 # MIDDLEWARE #
442 ##############
443
444 # List of middleware classes to use. Order is important; in the request phase,
445 # this middleware classes will be applied in the order given, and in the
446 # response phase the middleware will be applied in reverse order.
447 MIDDLEWARE_CLASSES = (
448 'django.middleware.common.CommonMiddleware',
449 'django.contrib.sessions.middleware.SessionMiddleware',
450 'django.middleware.csrf.CsrfViewMiddleware',
451 'django.contrib.auth.middleware.AuthenticationMiddleware',
452 'django.contrib.messages.middleware.MessageMiddleware',
453 # 'django.middleware.http.ConditionalGetMiddleware',
454 # 'django.middleware.gzip.GZipMiddleware',
455 )
456
457 ############
458 # SESSIONS #
459 ############
460
461 SESSION_COOKIE_NAME = 'sessionid' # Cookie name. This can be whatever you want.
462 SESSION_COOKIE_AGE = 60 * 60 * 24 * 7 * 2 # Age of cookie, in seconds (default: 2 weeks).
463 SESSION_COOKIE_DOMAIN = None # A string like ".lawrence.com", or None for standard domain cookie.
464 SESSION_COOKIE_SECURE = False # Whether the session cookie should be secure (https:// only).
465 SESSION_COOKIE_PATH = '/' # The path of the session cookie.
466 SESSION_COOKIE_HTTPONLY = True # Whether to use the non-RFC standard httpOnly flag (IE, FF3+, others)
467 SESSION_SAVE_EVERY_REQUEST = False # Whether to save the session data on every request.
468 SESSION_EXPIRE_AT_BROWSER_CLOSE = False # Whether a user's session cookie expires when the Web browser is closed.
469 SESSION_ENGINE = 'django.contrib.sessions.backends.db' # The module to store session data
470 SESSION_FILE_PATH = None # Directory to store session files if using the file session module. If None, the backend will use a sensible default.
471
472 #########
473 # CACHE #
474 #########
475
476 # New format
477 CACHES = {
478 }
479 # The cache backend to use. See the docstring in django.core.cache for the
480 # possible values.
481 CACHE_MIDDLEWARE_KEY_PREFIX = ''
482 CACHE_MIDDLEWARE_SECONDS = 600
483 CACHE_MIDDLEWARE_ALIAS = 'default'
484
485 ####################
486 # COMMENTS #
487 ####################
488
489 COMMENTS_ALLOW_PROFANITIES = False
490
491 # The profanities that will trigger a validation error in
492 # CommentDetailsForm.clean_comment. All of these should be in lowercase.
493 PROFANITIES_LIST = ()
494
495 ##################
496 # AUTHENTICATION #
497 ##################
498
499 AUTHENTICATION_BACKENDS = ('django.contrib.auth.backends.ModelBackend',)
500
501 LOGIN_URL = '/accounts/login/'
502
503 LOGOUT_URL = '/accounts/logout/'
504
505 LOGIN_REDIRECT_URL = '/accounts/profile/'
506
507 # The number of days a password reset link is valid for
508 PASSWORD_RESET_TIMEOUT_DAYS = 3
509
510 # the first hasher in this list is the preferred algorithm. any
511 # password using different algorithms will be converted automatically
512 # upon login
513 PASSWORD_HASHERS = (
514 'django.contrib.auth.hashers.PBKDF2PasswordHasher',
515 'django.contrib.auth.hashers.PBKDF2SHA1PasswordHasher',
516 'django.contrib.auth.hashers.BCryptPasswordHasher',
517 'django.contrib.auth.hashers.SHA1PasswordHasher',
518 'django.contrib.auth.hashers.MD5PasswordHasher',
519 'django.contrib.auth.hashers.UnsaltedMD5PasswordHasher',
520 'django.contrib.auth.hashers.CryptPasswordHasher',
521 )
522
523 ###########
524 # SIGNING #
525 ###########
526
527 SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
528
529 ########
530 # CSRF #
531 ########
532
533 # Dotted path to callable to be used as view when a request is
534 # rejected by the CSRF middleware.
535 CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
536
537 # Settings for CSRF cookie.
538 CSRF_COOKIE_NAME = 'csrftoken'
539 CSRF_COOKIE_DOMAIN = None
540 CSRF_COOKIE_PATH = '/'
541 CSRF_COOKIE_SECURE = False
542
543 ############
544 # MESSAGES #
545 ############
546
547 # Class to use as messages backend
548 MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
549
550 # Default values of MESSAGE_LEVEL and MESSAGE_TAGS are defined within
551 # django.contrib.messages to avoid imports in this settings file.
552
553 ###########
554 # LOGGING #
555 ###########
556
557 # The callable to use to configure logging
558 LOGGING_CONFIG = 'django.utils.log.dictConfig'
559
560 # The default logging configuration. This sends an email to
561 # the site admins on every HTTP 500 error. All other log
562 # records are sent to the bit bucket.
563
564 LOGGING = {
565 'version': 1,
566 'disable_existing_loggers': False,
567 'filters': {
568 'require_debug_false': {
569 '()': 'django.utils.log.RequireDebugFalse',
570 }
571 },
572 'handlers': {
573 'mail_admins': {
574 'level': 'ERROR',
575 'filters': ['require_debug_false'],
576 'class': 'django.utils.log.AdminEmailHandler'
577 }
578 },
579 'loggers': {
580 'django.request': {
581 'handlers': ['mail_admins'],
582 'level': 'ERROR',
583 'propagate': True,
584 },
585 }
586 }
587
588 # Default exception reporter filter class used in case none has been
589 # specifically assigned to the HttpRequest instance.
590 DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
591
592 ###########
593 # TESTING #
594 ###########
595
596 # The name of the class to use to run the test suite
597 TEST_RUNNER = 'django.test.simple.DjangoTestSuiteRunner'
598
599 ############
600 # FIXTURES #
601 ############
602
603 # The list of directories to search for fixtures
604 FIXTURE_DIRS = ()
605
606 ###############
607 # STATICFILES #
608 ###############
609
610 # A list of locations of additional static files
611 STATICFILES_DIRS = ()
612
613 # The default file storage backend used during the build process
614 STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
615
616 # List of finder classes that know how to find static files in
617 # various locations.
618 STATICFILES_FINDERS = (
619 'django.contrib.staticfiles.finders.FileSystemFinder',
620 'django.contrib.staticfiles.finders.AppDirectoriesFinder',
621 # 'django.contrib.staticfiles.finders.DefaultStorageFinder',
622 )