I’ll suggest you to use some background task runner. Celery will work great for you as it is developed for Python and work on multiple platform with multiple types of message queues.
Sent from Mail for Windows 10 From: Kishan Mehta -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/57b4456d.4b50620a.2cdf7.e8fe%40mx.google.com. For more options, visit https://groups.google.com/d/optout.