How to run function in background in Django view
How to run function in background in Django view Question: I have Django project with one view. When I refresh page I want to call some function which is very complicated and take same time to execute. How and what is the best way to do it in backround? import time import psycopg2 from django.http …