Thanks everyone,

Once again, I do not expect to know the record's ID before having
saved it. But once I save it, that object DOES HAVE an id. I am
assuming it was a simple insert command underneath, but do not know
how this DB assigned is has become visible to Django. The django code
representing how it was done is not easy to understand.

To state it simply again: How does django know the PK of the object it
just saved, given it is the server that sets the PK?

Thanks,
Sia


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to