Is there a particular reason Django doesn't implement table locks? These 
are vendor-specific, but seem to be common to various SQL backends, which 
is something Django generally does well.

I am working on an application in which I would like to be able to perform 
bulk create on inherited models. I see the issue with not being able to 
fetch primary keys, but it seems that this could be accomplished by placing 
a table lock on both the parent and inherited table, determining the 
appropriate primary keys in python, circumventing a table autoincrement, 
and then bulk creating both models.

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/8446a5fe-3cfb-4efa-bb40-84e70dd234de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to