How i run a program in background in django without loading page
i am working on a project which has a function which generate response automatically on loop using google gemini api and show it to the html page by saving it to the database, i want this function to run in background all the time without loading the page