mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-06-10 06:24:45 +02:00
Fix deprecation warnings
This commit is contained in:
parent
33059e632e
commit
1e77bd9bf6
9 changed files with 97 additions and 88 deletions
|
@ -469,7 +469,7 @@ class DomainApplication(TimeStampedModel):
|
|||
nothing.
|
||||
"""
|
||||
if self.submitter is None or self.submitter.email is None:
|
||||
logger.warn("Cannot send confirmation email, no submitter email address.")
|
||||
logger.warning("Cannot send confirmation email, no submitter email address.")
|
||||
return
|
||||
try:
|
||||
send_templated_email(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue