This commit is contained in:
zandercymatics 2024-05-08 10:28:10 -06:00
parent adecbdcfc7
commit 7c3e03a240
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
2 changed files with 5 additions and 5 deletions

View file

@ -8,12 +8,12 @@ from phonenumber_field.modelfields import PhoneNumberField # type: ignore
class Contact(TimeStampedModel): class Contact(TimeStampedModel):
""" """
Contact information follows a similar pattern for each contact. Contact information follows a similar pattern for each contact.
This model uses signals [as defined in [signals.py](../../src/registrar/signals.py)]. This model uses signals [as defined in [signals.py](../../src/registrar/signals.py)].
When a new user is created through Login.gov, a contact object will be created and When a new user is created through Login.gov, a contact object will be created and
associated on the `user` field. associated on the `user` field.
If the `user` object already exists, the underlying user object If the `user` object already exists, the underlying user object
will be updated if any updates are made to it through Login.gov. will be updated if any updates are made to it through Login.gov.
""" """

View file

@ -24,10 +24,10 @@ class User(AbstractUser):
but can be customized later. but can be customized later.
This model uses signals [as defined in [signals.py](../../src/registrar/signals.py)]. This model uses signals [as defined in [signals.py](../../src/registrar/signals.py)].
When a new user is created through Login.gov, a contact object will be created and When a new user is created through Login.gov, a contact object will be created and
associated on the contacts `user` field. associated on the contacts `user` field.
If the `user` object already exists, said user object If the `user` object already exists, said user object
will be updated if any updates are made to it through Login.gov. will be updated if any updates are made to it through Login.gov.
""" """