Fixed E124 pep8 warnings.
Moved imports to the top of the defaultfilters module.
Fix sqlmigrate's output for parameters
Change FKs when what they point to changes
Better default name for migrations we can't give nice names to
Fix altering of SERIAL columns and InnoDB being picky about FK changes
Fixed #21510 -- Readded search reset link in changelist search bar

Thanks moritz.pfeiffer at alp-phone.ch for the report and
Tim Graham for the initial patch.
Fixed #21563 -- Single related object descriptors should work with `hasattr`.

Thanks to Aymeric Augustin for the review and Trac alias monkut for the report.
Fixed #21462 -- Made `assertNumQueries` print executed queries on failure.
Brought comments in sync with the code in BaseAppCache.
Fixed #21473 -- Limited language preservation to logout

Current language is no longer saved to session by LocaleMiddleware
on  every response (the behavior introduced in #14825).
Instead language stored in session is reintroduced into new session
after logout.

Forward port of c558a43fd6 to master.
Fixed #21591 -- Added documentation about contrib.messages.get_messages.

Refs https://code.djangoproject.com/ticket/21591
Thanks to track user merb for the report.
Improved translation maintenance script

Do not fetch 'en' catalogs, neither files with translation stats
lower than 5%. Centralized resource filtering.
Moving notes for assertNumQueries next to the other changes to test infrastructure
Fixed PEP257 violations (single-quoted docstrings) in utils.text.
Fixed #21574 -- Handle bytes consistently in utils.text.normalize_newlines.

All input is now coerced to text before being normalized.
This changes nothing under Python 2 but it allows bytes
to be passed to the function without a TypeError under Python3
(bytes are assumed to be utf-8 encoded text).

Thanks to trac user vajrasky for the report.
Copied 1.6.1 release notes from stable/1.6.x branch.
Changed documentation of HttpResponse.content to indicate it's a bytestring
Merge pull request #2067 from dominicrodger/master

Moving notes for assertNumQueries next to the other changes to test infrastructure
Added 1.6.2 release notes stub.