Fixed #23884 -- Moved FlatPageSitemap into django.contrib.flatpages.
Moved an import in an auth test; refs #23925.

This keeps tests/__init__.py from importing other modules and may fix a problem
with test discovery revealed in formtools tests on Travis CI.
Refs #23947 -- Fixed admin_views test execution order dependency.
Corrected test assertion from refs #21403.
Refs #23947 -- Fixed queries test execution order dependency.

Specify an id to avoid conflict with objects created in setUpTestData.
Fixed #23987 -- Made SQLite SchemaEditor always use effective_default().
Fixed typos in docs/releases/1.7.2.txt.
Fixed #23405 -- Fixed makemigrations prompt when adding Text/CharField.

A default is no longer required.
Fixed reverse test execution for migration manager tests

Thanks to Tim Graham for reporting the issue; refs #23822
Fixed refs #23987 test on Oracle.
Refs #23947 -- Improved migrations tests table cleanup.

Copied technique from schema tests.
Refs #23884 -- Silenced a deprecation warning in sitemaps tests.
Fixed #23893: Added tzinfo to constant datetime in unit test

Added tzinfo to y2k constant (01/01/2000) in
custom_lookups.tests.DateTimeLookupTests.test_datetime_output_field
to fix warning message regarding naive datetimes.
Merge pull request #3737 from mhall1/ticket_23893

Fixed #23893: Added tzinfo to constant datetime in unit test
Fixed #23995 -- Removed unnecessary calls to self.client.logout() in tests.
Fixed #23983 -- Fixed a crash in migrations when adding order_with_respect_to to non-empty table.
Fixed #16028 -- Moved defaultfilters tests into template_tests.
Fixed #23975 -- Restored pre_migrate signal if all apps have migrations.

Thanks kmmbvnr for the report.
Fixed the formatting of one section of the security page
Fixed #24002 -- GenericRelation filtering targets related model's pk

Previously Publisher.objects.filter(book=val) would target
book.object_id if book is a GenericRelation. This is inconsistent to
filtering over reverse foreign key relations, where the target is the
related model's primary key.