validate_ipv6_address
Validates that the provided value is a valid IPv6 address and raises a ValidationError if it is not.
def validate_ipv6_address(
value: string
) - > null
Validates whether a given string is a valid IPv6 address and raises a ValidationError if the format is incorrect.
Parameters
| Name | Type | Description |
|---|---|---|
| value | string | The IP address string to be checked for IPv6 compliance. |
Returns
| Type | Description |
|---|---|
null | Returns nothing if the validation passes successfully. |