Sounds like a reasonable idea in general. However,
get_formsets_with_inlines strikes me as exposing a little too much of
the internal implementation.
Having a quick look at the code, it strikes me that the actual use
case here is 'get_formset_instances()' -- the prefixing and formset
instantiation logic is essentially shared between the three places
that get_formsets() are used, and would provide the entry point that
you need to eliminate formsets on a per-request basis. I'd be a lot
more comfortable with an API at than one that provides 'zip some stuff
together' level functionality.
Yours,
Russ Magee %-)