Re: e

2022-08-25 Thread Ahmed Abdelmonem
Use validate method to output the user details (name, age, ...etc) along side with the token, now you have the token and the user, u don't have to extract the user from the token. use the token and the user together instead of using the token only in React https://github.com/Ahmed-Abdelgawad-Dev/

Re: logout_redirect_url not defined

2022-09-21 Thread Ahmed Abdelmonem
You should write it this way : *'/login/'* in urls.py should be written* path('login/', etc) or index instead in your case.* On Thu, Sep 22, 2022 at 3:32 AM abdallah elassaad < elassaadabdal...@gmail.com> wrote: > can you pls help > in my "setting.py" > i add this line > LOGOUT_REDIRECT_U