From 2f121dfe635b3f497fe1fe03bc8eb97cdf5083b3 Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Thu, 14 Mar 2013 16:19:59 +0100 Subject: Fixed #17051 -- Removed some 'invalid' field error messages When the 'invalid' error message is set at field level, it masks the error message raised by the validator, if any. --- django/utils/ipv6.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'django/utils') diff --git a/django/utils/ipv6.py b/django/utils/ipv6.py index 7624bb9c76..8881574eaa 100644 --- a/django/utils/ipv6.py +++ b/django/utils/ipv6.py @@ -5,7 +5,7 @@ from django.core.exceptions import ValidationError from django.utils.six.moves import xrange def clean_ipv6_address(ip_str, unpack_ipv4=False, - error_message="This is not a valid IPv6 address"): + error_message="This is not a valid IPv6 address."): """ Cleans a IPv6 address string. -- cgit v1.3