From b8462ee5b105d7dbae60f482a55116b36848c94c 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(