[1.6.x] Fixed #21539 -- Added example of modelformset_factory's form argument

Backport of 1fa681ee11 from master