Changes between Initial Version and Version 1 of Ticket #8892, comment 21
- Timestamp:
- May 19, 2014, 3:17:17 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #8892, comment 21
initial v1 16 16 }}} 17 17 18 While I agree the docs suggests auto-increment keys can be determined upfront, the django model above shows a.pk is already known BEFORE I save b. Hence I don't see why Django can't save object b correctly.18 While I agree the docs suggests auto-increment keys can't be determined upfront, the django model above shows a.pk is already known BEFORE I save b. Hence I don't see why Django can't save object b correctly. 19 19 20 20 Instead, I have to use the below suggested hack in the StackOverlow question. Yet this seems cumbersome and unnecessary.