Hello, I am trying to figure out how to get a pk in the middle of a transaction. I need to set a field in the model based on the ID(default pk) to be given. As far as a i know, this ID should be allocated during the transaction. So i would imagine it would do the INSERT, then i could get the pk and do what i need to do, then proceed with the commit.
Is this possible? Thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.