I have a model with a number of foreign key fields, e.g. model Product with fields \'type\', \'level\', \'color\', \'intensity\' (just a generic example).
You can change the queryset used by the formset, then you could use select_related() to generate the FK joins rather than to execute a query at each forloop iteration.