[form] update error message

This commit is contained in:
Nico Schottelius 2020-12-05 12:49:20 +01:00
commit 62bb736efb

View file

@ -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 }
)