2👍
Have a look at the Celery Integration for Django. I use it for my projects and its working very well.
If you integrate your task directly into your Django code, they will run in the same context as your web application. This is probably not what your are looking for.
Source:stackexchange.com