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 #23100: Individual FK creation missing dependencies
Fixed #23121: AlterModelOptions operation not changing state right