add class description for vip

This commit is contained in:
Rachid Mrad 2024-01-24 13:11:00 -05:00
parent 8570a03600
commit e88c50c173
No known key found for this signature in database
GPG key ID: EF38E4CEC4A8F3CF
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -5,7 +5,7 @@ from .utility.time_stamped_model import TimeStampedModel
class VeryImportantPerson(TimeStampedModel):
""""""
"""emails that get added to this table will bypass ial2 on login."""
email = models.EmailField(
null=False,