Saturday, October 24, 2015

Re: Locking / serializing access to one element in database


This only covers the case where the object with the given ID already exists, doesn't it?

Yes - it must be so; thank you for pointing out. In my particular case I can get around it be pre creating an empty element, but that is not very nice - I will look at Collins suggestion. 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/db0a7d08-a75b-4d53-aa5a-ad6422b53a46%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment