Hi,

How to detect that the django app is stopping?

I use some librairies that use a queue (queue.Queue) to store the data that 
will be sent in batch.
They provide a flush method to flush at the end of the program to make sure 
there’s nothing left in the queue.

But where could I call the flush method in django? 

Thanks

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/ddecba43-49b3-493c-ad35-83d02758f95f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to