I made it using viewset and serializer.The primary key has been set to email, and this error has occurred in detail
What's unique is that when you write an e-mail, you only see {"detail":"Not found."} on the white screen.
However, if you write down a number, the error message appears on the Django DRF page.
--
You received this message because you are subscribed to the Google Groups "Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-fram...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-rest-framework/f0336a15-5b88-4480-ad57-d3b35b4d079dn%40googlegroups.com.