Changes between Initial Version and Version 1 of Ticket #34129, comment 7
- Timestamp:
- Nov 2, 2022, 4:26:58 AM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #34129, comment 7
initial v1 1 This is a duplicate of #33375: if you **really** need this pattern define a form class with the id , using the desired queryset, so that `BaseModelFormSet.add_fields()` doesn't add the field with the default manager.1 This is a duplicate of #33375: if you **really** need this pattern define a form class with the id field, using the desired queryset, so that `BaseModelFormSet.add_fields()` doesn't add the field with the default manager. 2 2 3 3 David is on track: you need to be extra careful with setting default managers that filter the QuerySet.