[1.7.x] Fixed pep8 in docs/topics/logging.txt

Backport of 947af46db3 from master
[1.7.x] Fixed #12008 -- Clarified relationship between template blocks and includes.

Thanks Daniele Procida for suggested wording.

Backport of 80b8d3bee0 from master
[1.7.x] Fixed #23615 -- Validate that a Model instance's "check" attribute is a method.

The "check" name is a reserved word used by Django's check framework,
and cannot be redefined as something else other than a method, or the check
framework will raise an error.

This change amends the django.core.checks.model_check.check_all_models()
function, so that it verifies that a model instance's attribute "check"
is actually a method. This new check is assigned the id "models.E020".

Conflicts:
	docs/ref/checks.txt

Backport of a5c77417a6 from master
[1.7.x] Fixed #23667 -- Incorrect settings reference for language cookie.

Thanks jamesbeith for the report.

Backport of bedd439297 from master
[1.7.x] Fixed some intersphinx references.

Backport of babbf18999 from master
[1.7.x] Fixed #23649 -- Made Oracle test-db creation drop test-user earlier when needed

Checked database destruction for ORA-29857, which happens when objects of
some types are left over in an old test database (notably, such objects
are created by the GIS backend). When this happens, we can resolve the
issue by dropping the test-user (if we are allowed to).

An alternative approach, to just switch the order of creation (so that,
if the test user exists and can be dropped, it is always dropped before
the tablespace) was considered; but since the user creation depends on
the tablespace, this would necessitate separating the dropping of the user
from its creation -- a change I am reluctant to make.

Thanks Josh Smeaton and Tim Graham for reviews.

Backport of 2e1ed5f33c from master
[1.7.x] Added 1.7.1 release notes for refs #23649.

Backport of 6ce6c77e03 from master
[1.7.x] Fixed #23676 -- Rearranged sentence; "by default" applies only to max length

Backport of c1b9f99a81 from master
[1.7.x] Fixed a typo in urlencode documentation.

Backport of 62a53bdf11 from master
[1.7.x] Fixed #20609 -- Added instructions for using AnonymousUser with RequestFactory.

Backport of a39df37049 from master
[1.7.x] Fixed #23629 -- Allowed autodetector to detect changes in Meta.db_table.

Thanks Naddiseo for reporting.

Backport of 5732424bee from master
[1.7.x] Fixed a flake8 warning.

Backport of f6c208d95c from master
[1.7.x] Fixed #21740 -- Allowed test client data to be an empty string

This fixes a regression introduced by 2a31d00933.
Thanks tony-zhu for the report.
Backport of f0bb3c98cc from master.
[1.7.x] Fixed #23583 -- More selectively ignored static/media roots

Fixed a regression introduced by 28efafa24c.
Thanks Michal Čihař for the report and initial patch, and
Collin Anderson and Tim Graham for the reviews.
Backport of 8b4cc9df9c from master.
[1.7.x] Added release dates to release notes.

Backport of 9dc782b631 from master
[1.7.x] Bump version number for bugfix release.
Merge tag '1.7.1' into wlanslovenija

Tag 1.7.1