restapiswithdjango
restapiswithdjango copied to clipboard
Chapter 8: dj-rest-auth/registration return http 204 no content
Hello, as mentioned in this link: https://stackoverflow.com/questions/76093862/dj-rest-auth-registration-return-http-204-no-content I got the same problem in Chapter 8: User Authentication when doing the registration of a user.
REST_AUTH = { 'SESSION_LOGIN': False }
solved the issue. I hope it helps, great book !