How to ran a function some time after the user enterd the url? Django

I have a page that 10 seconds after the user enterd a change to the database is made, how do i do that? I need to add this idea to both a class based view and a regular view.

Back to Top