mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-20 09:46:06 +02:00
add try/catch and update model
This commit is contained in:
parent
e34dfbccdb
commit
059585d3e1
3 changed files with 45 additions and 16 deletions
|
@ -48,6 +48,7 @@ class PublicContact(TimeStampedModel):
|
|||
help_text="For which type of WHOIS contact",
|
||||
)
|
||||
registry_id = models.CharField(
|
||||
unique=True,
|
||||
max_length=16,
|
||||
default=get_id,
|
||||
null=False,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue