Re: DRF - request.user returns None

2022-08-26 Thread Lipede Tope
Check if the user is authenticated Eg if user.is_authentucated On Fri, Aug 26, 2022, 3:11 PM Lipede Tope wrote: > > > On Fri, Aug 26, 2022, 2:40 PM Jackson Patrick > wrote: > >> I am trying to get user using request.user and when printing gets None >> and in console it shows >> "Annoymous user"

DRF - request.user returns None

2022-08-26 Thread Jackson Patrick
I am trying to get user using request.user and when printing gets None and in console it shows "Annoymous user". and am using simple jwt -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails fro