in authenticate function take values from request.data dictionary email = request.data.get('email') poassword = request.data.get('password') On Sunday, 23 May 2021 at 07:27:51 UTC+5:30 tosina...@gmail.com wrote:
> halo guys, i wan make it possible for user to auto login user after > signup in my app using drf > but still getting null as d user-id & returning anonymous user err > can anyone help out > [image: image.png] > [image: image.png] > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/a3a45860-b65c-45f0-9c24-cd23165e5048n%40googlegroups.com.