If I use

id = models.AutoField(primary_key=True)

can I be sure that if an object is removed from the db by calling
its .delete() method, the respective id will not be used for any
subsequent .save() on a new object?

My application relies on the fact that an object's id is unique over
all objects, even deleted ones.

-- 
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.

Reply via email to