From 9e7c2446532170c7f0a2a09c7a5e68c2f2b0dde1 Mon Sep 17 00:00:00 2001 From: Costas Drogos Date: Thu, 26 Sep 2024 21:38:07 +0200 Subject: [PATCH] Fixes: #17611: Fix a ValidationError message --- netbox/extras/models/customfields.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/extras/models/customfields.py b/netbox/extras/models/customfields.py index 8895949027d..aff41521b5e 100644 --- a/netbox/extras/models/customfields.py +++ b/netbox/extras/models/customfields.py @@ -661,7 +661,7 @@ def validate(self, value): raise ValidationError(_("Value must be an integer.")) if self.validation_minimum is not None and value < self.validation_minimum: raise ValidationError( - _("Value must be at least {minimum}").format(minimum=self.validation_maximum) + _("Value must be at least {minimum}").format(minimum=self.validation_minimum) ) if self.validation_maximum is not None and value > self.validation_maximum: raise ValidationError(