Fixed #22777: Add dependency on through for autodetected M2M adds
Fix router_honored test to not close connection
Fixed #22487: Optional rollback emulation for migrated apps
Fix broken alias testing test
Converted Django scripts to argparse

Refs #19973.
Fixed formtools tests with Python 2

Fixes #19905 again.
Added missing deprecation note for fastcgi in 1.7 release notes; refs #20766.
Tweaked order of create_test_db arguments for backwards compatibility.

Since `serialize` was backported to 1.7, it should appear before `keepdb`.
Removed extras/csrf_migration_helper.py
Fixed flake8 error.
Doc edits for refs #22487.
Remove overzealous migration flushes from migration test suite
Added rollback emulation to spatialite backend; refs #22487.
Simplified handling of use_debug_cursor.

Turned it from a tri-valued boolean into a regular boolean.
Fixed #20420 -- Normalized query counts on Oracle.

This is achieved by inserting a fake entry in connection.queries when
not releasing a savepoint (since Oracle doesn't support that operation.)

Also removed the can_release_savepoints feature that was recently added,
but is superseded by this solution.
Dropped support for SpatiaLite < 2.4.
Removed unused import.
Fixed #17552 -- Removed a hack for IE6 and earlier.

It prevented the GZipMiddleware from compressing some data types even on
more recent version of IE where the corresponding bug was fixed.

Thanks Aaron Cannon for the report and Tim Graham for the review.
Made query_string argument to QueryDict optional defaulting to None.

Previously, a blank QueryDict could be created by calling

QueryDict(str('')) or QueryDict(None)

It seems rather nicer to just allow the query_string argument to
default to None so that we can just write QueryDict().
Made GET and POST attributes of an HttpRequest object QueryDicts.

Previously, GET and POST on an HttpRequest were created in the __init__
method as dictionaries. This was not something you would usually notice
causing trouble in production as you'd only see a WSGIRequest, but in
testing using the test client, calling .getlist on GET or POST
for a request with no get/post data used to result in an AttributeError.

Changed GET and POST on a vanilla HttpRequest object to be mutable
QueryDicts (mutable because the Django tests, and probably many
third party tests were expecting it).

Also added a regression test for this by adding calls to .getlist to
the test on a newly created HttpRequest.