1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Closes #7284: Include comments field in table/export for all appropriate models

This commit is contained in:
jeremystretch
2021-09-17 12:04:22 -04:00
parent e67c965180
commit 16d8981a3f
11 changed files with 60 additions and 22 deletions

View File

@@ -3,7 +3,7 @@ from django.conf import settings
from utilities.tables import (
BaseTable, BooleanColumn, ButtonsColumn, ChoiceFieldColumn, ColorColumn, ContentTypeColumn, ContentTypesColumn,
ToggleColumn,
MarkdownColumn, ToggleColumn,
)
from .models import *
@@ -232,6 +232,7 @@ class JournalEntryTable(ObjectJournalTable):
orderable=False,
verbose_name='Object'
)
comments = MarkdownColumn()
class Meta(BaseTable.Meta):
model = JournalEntry