[1.7.x] Fixed #23263 -- Added sqlmigrate to migration topic guide.

Backport of 7ed3d0bb61 from master
[1.7.x] Fixed #14638 -- Clarified model Field.to_python() docs.

Thanks Anubhav Joshi for the patch.

Backport of b6aa60f425 from master
[1.7.x] Fixed #23298 -- Made makemessages actually ignore specified dirs on Windows.

This was detected by two failures in the i18n.test_extraction of our
test suite.

Refs #20422, refs #22336

Backport of b4dce7c37a from master
[1.7.x] Fixed #23303 -- Added BEGIN and COMMIT statements to the output of sqlmigrate.

Backport of 5853c87a458f62ebd62d7809168355610de2570c from master.

Conflicts:
	django/core/management/commands/sqlmigrate.py
	tests/user_commands/tests.py
[1.7.x] Fixed some doc errors that caused syntax highlighting to fail.

Backport of 27fdac97ae from master
[1.7.x] Fixed #5726 -- Documented that inspectdb doesn't detect defaults.

Backport of 15cafaa565 from master
[1.7.x] Fixed #4991 -- Emphasized XSS ramifications of help_text not being escaped.

Backport of 5dbe2a9431 from master
[1.7.x] Fixed #23282 -- Corrected inheritance and reverse relations example.

Thanks knowledgepoint-devs for the report and claudep for review.

Backport of 7006187064 from master
[1.7.x] Fixed #17272 -- Documented that non-editable fields are skipped during model validation.

Thanks mitar for the report.

Backport of c587bd5a94 from master
[1.7.x] Fixed #23314 -- Tempered recommendation of storing profile data on custom user.

Thanks gavinwahl for the report.

Backport of 3569536491 from master
[1.7.x] Fixed broken tests on Oracle after 5853c87a458f62ebd62d7809168355610de2570c.

Oracle doesn't have a `BEGIN` statement so the test would
fail.

Refs #23303

Backport of 54164b814cab71a8a0503743befbdcc99ae6c7a0 from master.
[1.7.x] Fixed #21801 -- Documented SingleObjectMixin.get_context_data() requires the object attribute.

Backport of 03c1609c47 from master
[1.7.x] Fixed #23316 -- Added datetime.time serialization in migrations.

Backport of 11d9cbe2f4 from master
[1.7.x] Fixed #22996 -- Prevented crash with unencoded query string

Thanks Jorge Carleitao for the report and Aymeric Augustin, Tim Graham
for the reviews.
Backport of fa02120d36 from master.
[1.7.x] Fixed #17238 -- Added source code links to docs using sphinx.ext.viewcode.

Thanks santiagobasulto for the suggestion.

Backport of 9ed4a8c6b1 from master
[1.7.x] Added sphinx extension to ease generation of ticket links.

Backport of fca677fa43 from master
[1.7.x] Fixed #23315: Operational dependency fail with mixed create/add
[1.7.x] Fixed typo in 1.7 release notes

Backport of 12cf10cacd6 from master.
[1.7.x] Added Chinese language aliases in tx client config

Transifex doesn't have zh_Hans/zh_Hant locales.
[1.7.x] Fetched translations from Transifex