12468 use inverse match

This commit is contained in:
Arthur 2023-05-12 09:30:35 -07:00
parent 58c74b208c
commit 050a3b789c

View File

@ -75,7 +75,6 @@ class CustomField(CloningMixin, ExportTemplatesMixin, ChangeLoggedModel):
null=True, null=True,
help_text=_('The type of NetBox object this field maps to (for object fields)') help_text=_('The type of NetBox object this field maps to (for object fields)')
) )
# regex=r'^(?!.*__.*)', ^((?!__).)*$
name = models.CharField( name = models.CharField(
max_length=50, max_length=50,
unique=True, unique=True,