From 33a99441a48dad31e3115798e03e49b503cdb279 Mon Sep 17 00:00:00 2001 From: Ryan Breaker Date: Tue, 24 Oct 2017 19:55:50 -0500 Subject: [PATCH] Update help text for ExpandableNameField --- netbox/utilities/forms.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/netbox/utilities/forms.py b/netbox/utilities/forms.py index b0e741080..ce9ecd324 100644 --- a/netbox/utilities/forms.py +++ b/netbox/utilities/forms.py @@ -340,8 +340,11 @@ class ExpandableNameField(forms.CharField): def __init__(self, *args, **kwargs): super(ExpandableNameField, self).__init__(*args, **kwargs) if not self.help_text: - self.help_text = 'Numeric ranges are supported for bulk creation.
'\ - 'Example: ge-0/0/[0-23,25,30]' + self.help_text = 'Alphanumeric ranges are supported for bulk creation.
' \ + 'Mixed cases and types in ranges are not supported.
' \ + 'Examples:' def to_python(self, value): if re.search(ALPHANUMERIC_EXPANSION_PATTERN, value):