Fixed #23074 -- Avoided leaking savepoints in atomic.

Thanks Chow Loong Jin for the report and the initial patch.
Fixed #23113 -- ChoiceInput.render should take specified attrs into account.

Thanks to Tim Graham for the review.
Fixed #23102 -- Documented that sql* commands now respect allow_migrate().
Fixed #22491 -- documented how select_for_update() should be tested.

Thanks Andreas Pelme for the report.
Fixed #23099 -- Removed usage of deprecated initial data in Django's test suite.
Added order_by() to distapp test.