How to start a long-running process from a Django view?

前端 未结 4 436
予麋鹿
予麋鹿 2020-12-13 21:18

I need to run a process that might take hours to complete from a Django view. I don\'t need to know the state or communicate with it but I need that view to redirect away ri

4条回答
  •  自闭症患者
    2020-12-13 21:42

    http://code.google.com/p/django-command-extensions/wiki/JobsScheduling

    Is a nice library that that you can use to accomplish this task.

提交回复
热议问题