mirror of
https://github.com/django/django.git
synced 2025-10-26 07:06:08 +00:00
Fixed #333 and #440 -- Split DEFAULT_MIME_TYPE setting into DEFAULT_CONTENT_TYPE and DEFAULT_CHARSET. Thanks, Maniac.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@786 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -32,9 +32,11 @@ LANGUAGE_CODE = 'en-us'
|
||||
# notifications and other various e-mails.
|
||||
MANAGERS = ADMINS
|
||||
|
||||
# Default MIME type to use for all HttpResponse objects, if a MIME type
|
||||
# isn't manually specified. This is directly used as the Content-Type header.
|
||||
DEFAULT_MIME_TYPE = 'text/html; charset=utf-8'
|
||||
# Default content type and charset to use for all HttpResponse objects, if a
|
||||
# MIME type isn't manually specified. These are used to construct the
|
||||
# Content-Type header.
|
||||
DEFAULT_CONTENT_TYPE = 'text/html'
|
||||
DEFAULT_CHARSET = 'utf-8'
|
||||
|
||||
# E-mail address that error messages come from.
|
||||
SERVER_EMAIL = 'root@localhost'
|
||||
|
||||
Reference in New Issue
Block a user