[1.7.x] Fixed #23539 -- Added get_extra(), get_max_num(), and get_min_num() hooks to GenericInlineModelAdmin.

Backport of cf43a1ee90 from master
[1.7.x] Fixed #23426 -- Don't require double percent sign in RunSQL without parameters

Backport of b9a670b227 from master
[1.7.x] Added SuspiciousOperation to list of caught exceptions in testing docs.

Backport of 21683011d5 from master
[1.7.x] Corrected --noinput docs for makemigrations; refs #23407.

Backport of 450a616004 from master
[1.7.x] Fixed #23473 -- Documented that @deconstructible classes need __eq__.

Backport of 066e672d79 from master
[1.7.x] Fixed #22959 -- Documented that class-based validators need to be deconstructible.

Backport of c692e37b63 from master
[1.7.x] Fixed #23421 -- Corrected TEST SERIALIZE setting.

Thanks gkoller for the report and Markus Holtermann for review.
[1.7.x] Revert "Fixed #23474 -- Prevented migrating backwards from unapplying the wrong migrations."

Backport of d7ab2cefb7 from master