Hey, Did the solution worked?
On Tuesday, 19 May 2020 10:37:51 UTC+5:30, Akshat Zala wrote: > > In urls.py of the project directory: > > path('login/', auth_views.LoginView. > as_view(template_name='users/login.html', redirect_authenticated_user=True > ), > name='login'), > > On Monday, 17 December 2012 18:39:25 UTC+5:30, ke1g wrote: >> >> >> >> On Mon, Dec 17, 2012 at 5:14 AM, Ashish Sable <ashish...@gmail.com> >> wrote: >> >>> >>> I have written simple registration(login,logout) Django apps. >>> when i click on logout and then back button from browser >>> it shows me previous page. it should redirect me to login page. please >>> help >>> >>> >> The back button in your browser just shows you cached stuff. It doesn't >> contact the server, so there is nothing Django can do. >> > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/1637caf9-273c-495a-83b3-7a5a6f0b5f06%40googlegroups.com.