From 050a3b789c9e1afa3b799f139e152fbbaa1b6f91 Mon Sep 17 00:00:00 2001 From: Arthur Date: Fri, 12 May 2023 09:30:35 -0700 Subject: [PATCH] 12468 use inverse match --- netbox/extras/models/customfields.py | 1 - 1 file changed, 1 deletion(-) diff --git a/netbox/extras/models/customfields.py b/netbox/extras/models/customfields.py index 8fd07ec33..45b60eb56 100644 --- a/netbox/extras/models/customfields.py +++ b/netbox/extras/models/customfields.py @@ -75,7 +75,6 @@ class CustomField(CloningMixin, ExportTemplatesMixin, ChangeLoggedModel): null=True, help_text=_('The type of NetBox object this field maps to (for object fields)') ) - # regex=r'^(?!.*__.*)', ^((?!__).)*$ name = models.CharField( max_length=50, unique=True,