How to disable browser back button in django?
<p>I am trying to prevent user from going to his logged in page after he logs out.Just tried out what I got from internet and its not working, I am still able to go to back page after I log out.How to prevent this?</p>

<pre><code>from django.views.decorators.cache import cache_control

@cache_control(no_cache=True, must_revalidate=True, no_store=True)
def admin_logout(request):
    logout(request)
    return redirect("user_login")
</code></pre>