django-rest-framework-passwordless
django-rest-framework-passwordless copied to clipboard
AttributeError at /auth/token
Hi,
I'm getting an error after sending a debug email and trying to verify it with the code. When I called localhost:8000/auth/token/ after a code was sent to me, everything worked fine, but when I submitted it, it threw an AttributeError at /auth/token/ with message type object 'Token' has not attribute 'objects' .
Is this a problem that has occurred in the past or am I missing something?
I just followed the instructions provided by this github README...
Regards, wachenpaul
@wachenpaul Be sure follow the instructions from DRF for configuring TokenAuthentication here: https://www.django-rest-framework.org/api-guide/authentication/#tokenauthentication