diff --git a/README.md b/README.md index 8fbc04e..c18396e 100644 --- a/README.md +++ b/README.md @@ -1613,7 +1613,7 @@ from rest_framework import exceptions def some_service(): - raise ValidationError("Error message here.") + raise exceptions.ValidationError("Some message") ``` The response payload is going to look like this: