On 10/14/2014 01:58 PM, Spiros Mouzakitis wrote:
> What i finally did was to create a post_save signal as usual, and then
> in my receiver function i execute the "specific code block" in a thread
> (as mentioned
> here:
http://stackoverflow.com/questions/11899088/is-django-post-save-signal-asynchronous)
> In the thread i also put a time sleep. By the time the thread is resumed
> from the time.sleep function, the database has been updated and unlocked
> It works, but definitely not elegant :)