From 62bb736efb0f0167c9b351a91e52a1fe12e8e46f Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sat, 5 Dec 2020 12:49:20 +0100 Subject: [PATCH] [form] update error message --- ipv6ula/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipv6ula/models.py b/ipv6ula/models.py index 772985f..252af72 100644 --- a/ipv6ula/models.py +++ b/ipv6ula/models.py @@ -14,7 +14,7 @@ def validate_ula_prefix(prefix): if not net.subnet_of(ula_net): raise ValidationError( - _(f"Prefix {prefix} is not within ULA range ({ula_net})"), + _(f"Prefix {net} is not within ULA range ({ula_net})"), code='invalid', params = {'prefix': net } )