mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-25 12:08:40 +02:00
PR Changes
This commit is contained in:
parent
a84bbb5d3a
commit
1990f91e6a
5 changed files with 185 additions and 131 deletions
|
@ -149,6 +149,10 @@ class PublicContact(TimeStampedModel):
|
|||
pw="thisisnotapassword",
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def get_max_id_length(cls):
|
||||
return cls._meta.get_field("registry_id").max_length
|
||||
|
||||
def __str__(self):
|
||||
return (
|
||||
f"{self.name} <{self.email}>"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue