4 ms·
It it true there's no way to spawn a background task in Django without making the user wait?
by tocomment 14y ago
It it true there's no way to spawn a background task in Django without making the user wait?
- zemo 14y agoI haven't been using Django for a while, but I know there was no way built into the framework to do it. The complaint isn't really that it's too hard, it's that there's too many decisions to make, because it's not supported at the language level.
- asksol 14y agoSure you can do that (using threads/multiprocessing/greenlets). But usually you don't want to because it's hard to guarantee that the background task will complete without interruption.