0

I'm using Django rest_auth package in my project. by default when I using login, logout and register It showing me a key I want to redirect users in my home URL but I can't. I have LOGIN_REDIRECT_URL but still it shows me the key and LOGIN_REDIRECT_URL doesn't works. what should I do?????

  • Sorry I don't have experience with reast auth but did you try the demo project? https://django-rest-auth.readthedocs.io/en/latest/demo.html - at the bottom of the demo settings there is a login and logout URL: https://github.com/Tivix/django-rest-auth/blob/master/demo/demo/settings.py – jlapoutre Nov 10 '20 at 16:18
  • 1
    IMPORTANT: it appears reast_auth is not supported any more, you should swiitch to https://github.com/jazzband/dj-rest-auth instead! – jlapoutre Nov 10 '20 at 16:22

0 Answers0