Fixed #21832 -- Updated prompt, tests, and docs to show that USERNAME_FIELD supports FK after 9bc2d76.

Also added get_input_data() hook in createsuperuser.

Thanks Chris Jerdonek and Tim Graham for review.
Fixed #22978 -- Removed a USA-centric example that didn't add much.
Added a unit test to ensure models cannot be ordered by a M2M field.
Document -l as well as --list on migrate
Fixed #22812 -- Refactored lookup API documentation.

Thanks Anssi and Tim for reviews.
Fixed #22223 -- Prevented over-escaping URLs in reverse()

And follow more closely the class of characters defined in the
RFC 3986.
Thanks Erik van Zijst for the report and the initial patch, and
Tim Graham for the review.
Fixed #22351 -- Removed usage of lambdas in model field options.

Thanks claudep for review.
Fixed #13794 -- Fixed to_field usage in BaseInlineFormSet.

Thanks sebastien at clarisys.fr for the report and gautier
for the patch.
Revert "Improve cookie based session backend docs." refs #20418

This reverts commit d9c01da1f8ba3d4e0947fd1d619c8f4a9b013360.

This is poor advice as it breaks the test client login (refs #22934).
We can add a note like this back after refs #22986 is resolved.
Fixed #19671 -- Added warnings that null and validators are ignored for ManyToManyField.

Thanks Loic Bistuer and Tim Graham for help and review.
Fixed #22988 -- Adjusted an introspection test assertion.

Also changed test to use assertNotIn.
Fixed #22970: Incorrect dependencies for existing migrated apps
Fixed #22922: Better error message for InvalidBasesError.
Fixed #22809 -- Added model Field API reference.

Thanks to @timgraham for the review.
Fixed typo in docs/ref/contrib/gis/geos.txt.
Removed primary authors section from AUTHORS.
Fixed #13147 -- Moved User validation logic from form to model.
Fix comment
Add south upgrade note to 1.7 release notes
Added contrib.auth migration for refs #13147.