Fixed #22328 -- Added --exclude option to compilemessages and makemessages.
Sycned .hginore with .gitignore.
Updated doc links to point to Python 3 documentation
Specified 'csv and unicode' note as Python 2 only
Fixed #3214 -- Stopped parsing SQL with regex.

Avoided introducing a new regex-based SQL splitter in the migrations
framework, before we're bound by backwards compatibility.

Adapted this change to the legacy "initial SQL data" feature, even
though it's already deprecated, in order to facilitate the transition
to migrations.

sqlparse becomes mandatory for RunSQL on some databases (all but
PostgreSQL). There's no API to provide a single statement and tell
Django not to attempt splitting. Since we have a more robust splitting
implementation, that seems like a good tradeoff. It's easier to add a
new keyword argument later if necessary than to remove one.

Many people contributed to both tickets, thank you all, and especially
Claude for the review.

Refs #22401.
Fix many many typos in comments throughout the codebase
Documented django.setup().

Thanks Eric Holscher and Tim Graham for the review.
Fixed #22526 -- Added note about check() method to 1.7 release notes.

Thanks kevin-brown for the report.
Improved formatting and links of migration docs.
Fixed #22445 -- Added how to perform a reverse data migration to topic guide.

Thanks Karen Tracey for the report.
Fixed #22497 -- Highlighted difference between field and class deconstruction.

Thanks nliberg for the suggestion.
Fix a typo in logging.txt
Merge pull request #2613 from azalea/patch-2

Fix a typo in logging.txt
Fixed #22254 -- Noted the requirement of calling django.setup() when running

Thanks Peter Landry for the report.
Revert "Fixed #15179 -- middlewares not applied for test client login()"

This reverts commit 4fdd51b73240bf9c8d9472fcc45df699f0714755.

See the ticket for concerns with this implementation; it will be revisited.
Added dates to release notes of today's release.
Added stub release notes for 1.6.5.