What is the most elegant way to
lock the Django DB while I make a complex transaction (read, decide, write)
... during which no other uwsgi worker should have access (or at least
no write access) to that table?
I am using Django + db.sqlite3 + uwsgi (+ nginx).
Thanks a lot!
Andreas
----
(see also my related question at stackoverflow
http://stackoverflow.com/questions/28030536/lock-django-db-on-10-concurrent-uwsgi-workers-how-to
)
--
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+unsubscr...@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/20150119192445.51266v26zzk6hrl9%40webmail.andreaskrueger.de.
For more options, visit https://groups.google.com/d/optout.