add try/catch and update model

This commit is contained in:
zandercymatics 2024-05-02 09:28:33 -06:00
parent e34dfbccdb
commit 059585d3e1
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
3 changed files with 45 additions and 16 deletions

View file

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