A simple approach for background task in Django

When there is a long running task, there are usually below 2 requirements:

As a user, I want to know the progress of the task As a user, I want to get the output of the task if it is finished We will use the out of the box features Threading and Cache in Python and Django respectively to achieve this

Link