Changes between Initial Version and Version 1 of Ticket #34129, comment 7


Ignore:
Timestamp:
Nov 2, 2022, 4:26:58 AM (2 years ago)
Author:
Carlton Gibson

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.
     1This 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.
    22
    33David is on track: you need to be extra careful with setting default managers that filter the QuerySet.
Back to Top