mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Closes #9391: Remove 500-character limit for custom link text & URL fields
This commit is contained in:
@@ -204,12 +204,10 @@ class CustomLink(ExportTemplatesMixin, WebhooksMixin, ChangeLoggedModel):
|
||||
enabled = models.BooleanField(
|
||||
default=True
|
||||
)
|
||||
link_text = models.CharField(
|
||||
max_length=500,
|
||||
link_text = models.TextField(
|
||||
help_text="Jinja2 template code for link text"
|
||||
)
|
||||
link_url = models.CharField(
|
||||
max_length=500,
|
||||
link_url = models.TextField(
|
||||
verbose_name='Link URL',
|
||||
help_text="Jinja2 template code for link URL"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user