Make detect_soft_applied exit correctly on non-create migrations
Fix soft_applied in a way that doesn't break tests
Fixed a typo in the admin documentation.

The 'app' subpackage does not exist, should be 'app'.
Fixed #23101: Prefer doing deletes before creates in autodetector.

Makes declined or missed renames still work (but drop data).
Fixed #23090: Document and enforce not double-squashing migrations
Fixed #23127: south_migrations note in docs
Fixed #23092: Squashing handles external dependencies
Fixed #23129 -- Added 'true' and 'false' to `NullBooleanField`.

JavaScript serializations of forms will sometimes render the boolean
values as the strings 'true' and 'false', in lower case. Rather than
repeat boilerplate in the JavaScript to circumvent this, it seems
reasonable to allow Django to understand the lower-case versions of the
booleans.
Fixed #23132 -- Removed confusing clause in auth docs.
Forwardported 1.6.6 release note for #19107.
Fixed #23107 -- Made runserver output respect --no-color.
Fixed flake8 errors.
Fixed #23134 -- Fixed typos in docs/ref/models/querysets.txt.

Thanks Josh Kupershmidt.
Fixed #23067 -- Updated docs to use django-admin
Fixed test failure on Windows.

os.close(fd) is needed to avoid "The process cannot access the file
because it is being used by another process"
Fixed #23112 -- Field.get_choices tries to index an iterable
Fixed the previous commit for Python3.
Fixed flake8 warnings.
Fixed #13163 -- Added ability to show change links on inline objects in admin.

Thanks DrMeers for the suggestion.
Fixed #16383 -- Raised the AttributeError raised in property of an object when used in a template.

Thanks maraujop for the report and Hiroki and Tim Graham for review.