Discussion:
How can i change the username, password and email error message of the serialized field(make a custom error message instead of the built-in messages)
Mohit Sharma
2018-09-14 11:36:46 UTC
Permalink
Need help in overriding the error response message that the django throw
when you type in duplicated data or empty field in DRF
--
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-framework+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jason
2018-09-15 12:25:28 UTC
Permalink
http://www.django-rest-framework.org/api-guide/validators/#writing-custom-validators

You need to write a custom validator
--
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-framework+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...