Changes between Initial Version and Version 1 of Ticket #36259


Ignore:
Timestamp:
Mar 16, 2025, 2:22:00 AM (40 hours ago)
Author:
Clifford Gama
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • TabularUnified Ticket #36259 – Description

    initial v1  
    5151}}}
    5252And here is the culprit [https://github.com/django/django/blob/ef6a83789b310a441237a190a493c9586a4cb260/django/db/models/base.py#L1220C17-L1224C22 code]:
    53 This is done in a few other places. My proposal is to replace such uses cases of `_is_pk_set` with `instance._state.added` checks.
     53This is done in a few other places. My proposal is to replace such uses cases of `_is_pk_set` with `instance._state.adding` checks.
Back to Top