Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Commit

Permalink
Merge pull request #170 from peteeckel/fix/truncate-record-value
Browse files Browse the repository at this point in the history
Truncate the value field in record tables
  • Loading branch information
hatsat32 authored May 1, 2022
2 parents 4b9a181 + 89b79b5 commit 120bcb7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions netbox_dns/tables/record.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ class RecordBaseTable(NetBoxTable):
name = tables.Column(
linkify=True,
)
value = tables.TemplateColumn(
template_code="{{ value|truncatechars:64 }}",
)
ttl = tables.Column(
verbose_name="TTL",
)
Expand Down

0 comments on commit 120bcb7

Please sign in to comment.