Changes between Initial Version and Version 1 of Ticket #36259
- Timestamp:
- Mar 16, 2025, 2:22:00 AM (40 hours ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TabularUnified Ticket #36259 – Description
initial v1 51 51 }}} 52 52 And 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.add ed` checks.53 This is done in a few other places. My proposal is to replace such uses cases of `_is_pk_set` with `instance._state.adding` checks.