mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-28 11:10:36 +02:00
Write a new Domain interface
This commit is contained in:
parent
dd58f46231
commit
d51a8600d4
6 changed files with 255 additions and 221 deletions
|
@ -32,7 +32,7 @@ class PublicContact(TimeStampedModel):
|
|||
if hasattr(self, "domain"):
|
||||
match self.contact_type:
|
||||
case PublicContact.ContactTypeChoices.REGISTRANT:
|
||||
self.domain.registrant = self
|
||||
self.domain.registrant_contact = self
|
||||
case PublicContact.ContactTypeChoices.ADMINISTRATIVE:
|
||||
self.domain.administrative_contact = self
|
||||
case PublicContact.ContactTypeChoices.TECHNICAL:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue