Automatic Spinner in django

Is there a django library that automatically allows a spinner to be shown when processing each views of a django project?

The short answer is “No.”

The more detailed answer depends upon how you’re building the client side. If you’re using a JavaScript framework such as React or HTMX to create an SPA, then the requirement for doing this actually resides in the client. (Start the spinner when the AJAX request is issued, stop it when the response is received.)

If you’re using a traditional single-request / full-page application, then that’s typically not something in your control anyway.