Changes between Initial Version and Version 1 of Ticket #36064, comment 4
- Timestamp:
- Jan 7, 2025, 2:41:46 AM (3 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #36064, comment 4
initial v1 9 9 10 10 Is that correct? 11 12 {{{ 13 foo = Model(id=1) 14 foo.save() 15 bar = Model(id=1) 16 # 1. if Model.id has a default, this raises IntegrityError 17 # 2. if Model.id doesn't have a default, this updates foo 18 bar.save() 19 }}}