diff --git a/src/registrar/fixtures_users.py b/src/registrar/fixtures_users.py index 8be3e13a2..1b8eda9ab 100644 --- a/src/registrar/fixtures_users.py +++ b/src/registrar/fixtures_users.py @@ -295,7 +295,7 @@ def load_allowed_emails(cls, users, additional_emails): logger.warning(f"Could not add email to whitelist for {first_name} {last_name}.") # Load additional emails - allowed_emails.extend(additional_emails) + allowed_emails.extend([AllowedEmail(email=email) for email in additional_emails]) if allowed_emails: AllowedEmail.objects.bulk_create(allowed_emails) diff --git a/src/registrar/templates/django/admin/includes/descriptions/allowed_email_description.html b/src/registrar/templates/django/admin/includes/descriptions/allowed_email_description.html index 5ec5a4906..602935ab7 100644 --- a/src/registrar/templates/django/admin/includes/descriptions/allowed_email_description.html +++ b/src/registrar/templates/django/admin/includes/descriptions/allowed_email_description.html @@ -1,4 +1,4 @@ -

This table is an email whitelist for non-production environments.

+

This table is an email allow list for non-production environments.

If an email is sent out and the email does not exist within this table (or is not a subset of it), then no email will be sent.