[1.5.x] Fixed #19477 - Documented generic_inlineformset_factory

Thanks epicserve for the suggestion.

Backport of 214fb700b9 from master