Re: reload the page and the logged in user converted to the admin

2019-08-24 Thread James Schneider
> request.user there is a current user, but if I reload the page, the > currennt user converted to the admin ? > Enter code here... > def countries_rate(request): > auth_user = request.user > if request.user.is_authenticated: > auth_user = request.user > if (user_rate.objects.filter(user_id=auth_us

Re: reload the page and the logged in user converted to the admin

2019-08-24 Thread N'BE SORO
Hello, Use Django login function Le sam. 24 août 2019 à 19:12, ayoub ELMAJJODI a écrit : > The problem that I have, when I logged with normal user in the > request.user there is a current user, but if I reload the page, the > currennt user converted to the admin ? > Enter code here... > def co