mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-15 17:17:02 +02:00
add class description for vip
This commit is contained in:
parent
8570a03600
commit
e88c50c173
2 changed files with 2 additions and 2 deletions
|
@ -1251,7 +1251,7 @@ class VeryImportantPersonAdmin(ListHeaderAdmin):
|
|||
]
|
||||
|
||||
def truncated_notes(self, obj):
|
||||
# Truncate the 'notes' field to 200 characters
|
||||
# Truncate the 'notes' field to 50 characters
|
||||
return str(obj.notes)[:50]
|
||||
|
||||
truncated_notes.short_description = "Notes (Truncated)" # type: ignore
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue