1
0
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:
jeremystretch
2022-07-28 14:36:20 -04:00
parent a6be8dccf5
commit c5fb7b72f0
3 changed files with 24 additions and 4 deletions

View File

@@ -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"
)