Merge pull request #1191 from ambv/content_is_bytes

Fixed #20472: response.content should be bytes on both Python 2 and 3
Merge pull request #1190 from ambv/doc_settings_fix

Removed a confusing duplicate SESSION_COOKIE_DOMAIN header
Use assertIsInstance in tests.

Gives much nicer errors when it fails.
Merge pull request #1192 from mjtamlyn/assertIsInstance

Use assertIsInstance in test code.
Fixed test failures from 09f865276554f35060ff939722ec4cefd578edf6.
Fixed a Python 2.6 regression (GzipFile can't act as a context manager)
Fixed #17308 -- Enabled the use of short_description on properties in the admin.
Merge pull request #1194 from ambv/python26_is_fun

Fixed a Python 2.6 regression (GzipFile can't act as a context manager)
Imported copyreg from six.moves
Fixed #6412 -- More details if a template file cannot be loaded

Report more details about template files in loader postmortem.
(Re-)moved some imports
Fixed #19326 -- Added first() and last() methods to QuerySet
Slightly reworded 'last()' docs.
Fixed #18702 -- Removed chunked reads from QuerySet iteration
Fixed #20476 -- Typo.
Fixed #20453 -- inspectdb test failure on Oracle
Fixed #20015 -- date__startswith('2008') fails under Oracle

Removed the explicit casting of strings to dates
Fixed #20012 -- test_year_lookup_edge_case fails under Oracle

Used formatted date instead of datetime object for the end of the
year range, as the datetime object loses fractions-of-seconds when
inserted into the db.
Fixed #18709 -- Check if initial_value is a callable

In _get_changed_data, check if initial_value is a callable and call it
if it is.
Merge pull request #1196 from selwin/last-doc-fix

Slightly reworded 'last()' docs