Hacker News new | past | comments | ask | show | jobs | submit login

It it true there's no way to spawn a background task in Django without making the user wait?



I 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.


Sure 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: