> 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
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
2 matches
Mail list logo