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
I don't know if this will be suitable for your case, nevertheless here is what I do: I use a task queue (via a django model); when the view is called, it enters a new record in the tasks and redirects happily. Tasks in turn are executed by cron on a regular basis independently from django.
Edit: cron calls the relevant (and custom) django command to execute the task.