django/docs/topics
Michael Schwarz 72d541b61c Fixed #27007 -- Handled non-UTF-8 bytes objects for text/* attachments.
The fallback logic which allows non-UTF-8 encoded files to be passed to
attach_file() even when a `text/*` mime type has been specified is
moved to attach(). Both functions now fall back to a content type of
`application/octet-stream`.

A side effect is that a file's content is decoded in memory instead of
opening it in text mode and reading it into a string.

Some mimetype-related logic in _create_attachment() has become
obsolete as the code moved from attach_file() to attach() already
handles this.
2016-08-12 16:35:09 -04:00
..
_images
auth Clarified session verification with respect to the current session. 2016-08-11 12:08:50 -04:00
class-based-views
db
forms
http Documented the cache_control() decorator. 2016-08-11 16:46:58 -04:00
i18n Fixed capitalization of "URL pattern". 2016-07-06 15:31:12 -04:00
testing Fixed #27019 -- Made teardown_test_environment() restore the old DEBUG. 2016-08-10 16:24:41 -04:00
cache.txt Documented the cache_control() decorator. 2016-08-11 16:46:58 -04:00
checks.txt
conditional-view-processing.txt
email.txt Fixed #27007 -- Handled non-UTF-8 bytes objects for text/* attachments. 2016-08-12 16:35:09 -04:00
external-packages.txt
files.txt
index.txt
install.txt
logging.txt
migrations.txt
pagination.txt
performance.txt
python3.txt
security.txt Fixed #26947 -- Added an option to enable the HSTS header preload directive. 2016-08-10 20:23:54 -04:00
serialization.txt
settings.txt
signals.txt Fixed #26493 -- Documented how built-in signals are sent. 2016-04-13 07:48:18 -04:00
signing.txt
templates.txt