Added a comment for test of refs #20278.
Fixed #23883 -- Stopped flatatt modifying its argument
Corrected Permission.max_length in docs; refs #8162.
Added a test for model pre/post_init signals.
Fixed #23794 -- Fixed migrations crash when removing a field that's part of index/unique_together.
Fixed #23863 -- Made runtests accept the keepdb option.

refs #20550
Fixed typo in docs/internals/release-process.txt.
Fixed #23865 -- documented how to assign errors to a field in Model.clean()

Also added a unit test wit the simpler syntax which we have documented,
where the dictionary values are strings.
Fixed #21753 -- Raised exception when both `form_class` and `fields` are specified.
Fixed #23778 -- Added a doc section on using the Django runner for reusable apps.
Fixed typo in forms/models.py comment.
Fixed #23862 -- Made ManyToManyRel.get_related_field() respect to_field.
Fixed #23889 -- Added more usage of quote_name_unless_alias() to avoid deprecation warnings.
Avoided rewrapping Contexts in render_to_response.

This change preserves backwards-compatibility for a very common misuse
of render_to_response which even occurred in the official documentation.

It fixes that misuse wherever it happened in the code base and docs.

Context.__init__ is documented as accepting a dict and nothing else.
Since Context is dict-like, Context(Context({})) could work to some
extent. However, things get complicated with RequestContext and that
gets in the way of refactoring the template engine. This is the real
rationale for this change.
Deprecated dirs argument to override TEMPLATE_DIRS.

Cancels 2f0566fa. Refs #4278.
Introduced a template engine class.

Moved Django templates loading infrastructure there.
Removed unused API get_template_loaders.

It was introduced in a recent refactoring so this isn't an issue.

Then renamed _get_template_loaders to get_template_loaders.
Moved template loaders management in Engine.

Passed the engine instance to loaders. This is a prerequisite for
looking up configuration on the engine instance instead of global
settings.

This is backwards incompatible for custom template loaders that override
__init__. However the documentation doesn't talk about __init__ and the
way to pass arguments to custom template loaders isn't specified. I'm
considering it a private API.
Removed dependency of template loaders on Django settings.
Added to each Context a reference to the Engine.

It's only available during the rendering.