I am using Django's auth.LogoutView class in my urls.py. I can redirect the user to a specific page using LogoutView.as_view(next_page='main:index') after logout. If I left out the next_page part, it redirects to a Django admin interface with a thank you message and a option to login again, which is the admin login page. I want to redirect the user to the page they were on before clicking the logout url on the navbar.