mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-26 04:28:39 +02:00
cleaned up code comments
This commit is contained in:
parent
f45095c82b
commit
5398a81d24
1 changed files with 6 additions and 8 deletions
|
@ -256,18 +256,12 @@ class Domain(TimeStampedModel, DomainHelper):
|
||||||
@Cache
|
@Cache
|
||||||
def registrant_contact(self) -> PublicContact:
|
def registrant_contact(self) -> PublicContact:
|
||||||
"""Get or set the registrant for this domain."""
|
"""Get or set the registrant for this domain."""
|
||||||
# [admin, billing, tech, security]
|
|
||||||
raise NotImplementedError()
|
raise NotImplementedError()
|
||||||
|
|
||||||
@registrant_contact.setter # type: ignore
|
@registrant_contact.setter # type: ignore
|
||||||
def registrant_contact(self, contact: PublicContact):
|
def registrant_contact(self, contact: PublicContact):
|
||||||
|
#get id from PublicContact->.registry_id
|
||||||
#get id PC.registry_id
|
#call UpdateDomain() command with registrant as parameter
|
||||||
#trystart
|
|
||||||
#request = common.DomainContact(contact=id, type="tech")])
|
|
||||||
#send request
|
|
||||||
#registrant for billing? registrant tag in infordomainResult
|
|
||||||
#UpdateDomain(takes registrant)
|
|
||||||
raise NotImplementedError()
|
raise NotImplementedError()
|
||||||
|
|
||||||
@Cache
|
@Cache
|
||||||
|
@ -277,6 +271,10 @@ class Domain(TimeStampedModel, DomainHelper):
|
||||||
|
|
||||||
@administrative_contact.setter # type: ignore
|
@administrative_contact.setter # type: ignore
|
||||||
def administrative_contact(self, contact: PublicContact):
|
def administrative_contact(self, contact: PublicContact):
|
||||||
|
#call CreateContact, if contact doesn't exist yet for domain
|
||||||
|
# call UpdateDomain with contact,
|
||||||
|
# type options are[admin, billing, tech, security]
|
||||||
|
#use admin as type parameter for this contact
|
||||||
raise NotImplementedError()
|
raise NotImplementedError()
|
||||||
|
|
||||||
@Cache
|
@Cache
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue