Changes between Version 1 and Version 2 of Ticket #32244, comment 13


Ignore:
Timestamp:
Nov 17, 2021, 12:45:02 AM (3 years ago)
Author:
powderflask

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32244, comment 13

    v1 v2  
    11Replying to [comment:12 powderflask]:
    2 Correcting myself - some of the unexpected behaviors described above result from logic in BaseModelFormSet._construct_form  and are not addressed by the concept I proposed.  As I investigated, scope broadened and that logic IS logically part of validating the pk value, but is needed to associate the form with its instance.  Still thinking...
     2Correcting myself - some of the unexpected behaviors described above result from logic in `BaseModelFormSet._construct_form`  and has little to do with this issue.  As I investigated, scope broadened and that logic IS logically part of validating the pk value, but is needed to associate the form with its instance.  Still thinking...
     3The code I proposed at least raises a validation error in cases (a) and (b).  Case (c) seems most critical, but can't be detected at form level - it's a formset validation issue.
Back to Top