raise a ValidationError exception with 2 arguments: return value of the function _ called with an argument string 'Enter a valid IPv6 address.', and code set to string 'invalid'.
raise ValidationError ( _ ( 'Enter a valid IPv6 address.' ) , code = 'invalid' )