Django documentation on Model FormSets should include a tip on how to override default behavior
|Reported by:||ffualo||Owned by:||nobody|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The documentation page "Creating forms from models" mentions:
"By default, when you create a formset from a model, the formset will use a queryset that includes all objects in the model (e.g., Author.objects.all()). You can override this behavior by using the queryset argument"
However, it does not mention how to override this behavior, which is useful when you want to print blank form fields in a template. This is done with
This issue was discussed on #django.