mirror of
https://github.com/django/django.git
synced 2025-10-26 07:06:08 +00:00
Fixed #333 -- Added DEFAULT_MIME_TYPE setting, and set it to 'text/html; charset=utf-8' by default
git-svn-id: http://code.djangoproject.com/svn/django/trunk@670 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -32,6 +32,10 @@ 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'
|
||||
|
||||
# E-mail address that error messages come from.
|
||||
SERVER_EMAIL = 'root@localhost'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user