Changes between Initial Version and Version 1 of Ticket #8892, comment 21


Ignore:
Timestamp:
May 19, 2014, 3:17:17 AM (11 years ago)
Author:
altlist

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8892, comment 21

    initial v1  
    1616}}}
    1717
    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.
     18While 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.
    1919
    2020Instead, I have to use the below suggested hack in the StackOverlow question.  Yet this seems cumbersome and unnecessary.
Back to Top