From a4ecb823305d4e15c4ddbb73027929b112c4c5dd Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Mon, 24 Feb 2025 09:59:20 -0500 Subject: [PATCH] Clarify error message --- netbox/circuits/models/circuits.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/netbox/circuits/models/circuits.py b/netbox/circuits/models/circuits.py index 9c7714153..8f5df7eb1 100644 --- a/netbox/circuits/models/circuits.py +++ b/netbox/circuits/models/circuits.py @@ -349,9 +349,8 @@ class CircuitTermination( def clean(self): super().clean() - # Must define either site *or* provider network if self.termination is None: - raise ValidationError(_("A circuit termination must attach to termination.")) + raise ValidationError(_("A circuit termination must attach to a terminating object.")) def save(self, *args, **kwargs): # Cache objects associated with the terminating object (for filtering)