Is django orm & templates thread safe?
I'm using django orm and templates to create a backgrou开发者_如何学运维nd service that is ran as management command.
Do you know if django is thread safe?
I'd like to use threads to speed up processing. The processing is blocked by I/O not CPU so I don't care about performance hit caused by GIL.
If you need run jobs in background, you should use celery
精彩评论