On 3/1/07, Arvind Singh <[EMAIL PROTECTED]> wrote: ... > That's ok. All we are trying to say is that INSERT code should be a > separate function which can be used independent to UPDATE code.
...In which case, you'd get still get an error if there was a collision on ID, and you'd still need to generate a new ID and try again. I guess you're just trying to avoid the "check if a record with that pk exists" bit on inserts? And you (the app dev) would be responsible for handling the error? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---