[1.7.x] Fixed #22970: Incorrect dependencies for existing migrated apps
[1.7.x] Fixed #22922: Better error message for InvalidBasesError.
[1.7.x] Fixed #22809 -- Added model Field API reference.

Thanks to @timgraham for the review.

Backport of e1fa7dffdc from master
[1.7.x] Fixed typo in docs/ref/contrib/gis/geos.txt.

Backport of fef26e9a87 from master
[1.7.x] Fix comment
[1.7.x] Add south upgrade note to 1.7 release notes
[1.7.x] Fixed #13794 -- Fixed to_field usage in BaseInlineFormSet.

Thanks sebastien at clarisys.fr for the report and gautier
for the patch.

Backport of 5e2c4a4bd1 from master