Closed jwhitlock closed 1 week ago
This PR moves code around, in preparation for moving Profile (and other models) from the emails app to the privaterelay app.
Profile
emails
privaterelay
emails/exceptions.py
emails/validators.py
emails/models.py
DomainAddress.make_domain_address
User
This also involved moving tests around, and some test changes for the new interfaces.
This PR moves code around, in preparation for moving
Profile
(and other models) from theemails
app to theprivaterelay
app.emails/exceptions.py
- Defines the exceptions raised in theemails
appemails/validators.py
- Defines the validator functions used in theemails
app.emails/models.py
DomainAddress.make_domain_address
used to take aProfile
, and now takes aUser
.This also involved moving tests around, and some test changes for the new interfaces.