-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duplicated IPAddressField validation errors with ModelSerializer #3250
Labels
Milestone
Comments
callorico
changed the title
Duplicated validation errors with ModelSerializer
Duplicated IPAddressField validation errors with ModelSerializer
Aug 8, 2015
Thanks for the failing test case |
Now resolved in master :) |
This was referenced Mar 9, 2017
This was referenced Oct 16, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm seeing duplicated validation errors being returned from a
ModelSerializer
for a model containing aGenericIPAddressField
on Django 1.8.3 and Python 2.7.9.{'address': [u'Enter a valid IPv4 or IPv6 address.', u'Enter a valid IPv4 or IPv6 address.']}
It looks like both the validator from the
GenericIPAddressField
and the validator from the DRFIPAddressField
are being called.#3249
The text was updated successfully, but these errors were encountered: