mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-16 09:37:03 +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):
|
def truncated_notes(self, obj):
|
||||||
# Truncate the 'notes' field to 200 characters
|
# Truncate the 'notes' field to 50 characters
|
||||||
return str(obj.notes)[:50]
|
return str(obj.notes)[:50]
|
||||||
|
|
||||||
truncated_notes.short_description = "Notes (Truncated)" # type: ignore
|
truncated_notes.short_description = "Notes (Truncated)" # type: ignore
|
||||||
|
|
|
@ -5,7 +5,7 @@ from .utility.time_stamped_model import TimeStampedModel
|
||||||
|
|
||||||
class VeryImportantPerson(TimeStampedModel):
|
class VeryImportantPerson(TimeStampedModel):
|
||||||
|
|
||||||
""""""
|
"""emails that get added to this table will bypass ial2 on login."""
|
||||||
|
|
||||||
email = models.EmailField(
|
email = models.EmailField(
|
||||||
null=False,
|
null=False,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue