From 1792e3c0d8ad10b49f67fe8cfc7e9242db21186d Mon Sep 17 00:00:00 2001 From: zandercymatics <141044360+zandercymatics@users.noreply.github.com> Date: Tue, 3 Sep 2024 13:39:48 -0600 Subject: [PATCH 1/2] fix bug --- src/registrar/fixtures_users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) From ff00d564de86b4cbd7b95530930934eb9b23b4f2 Mon Sep 17 00:00:00 2001 From: zandercymatics <141044360+zandercymatics@users.noreply.github.com> Date: Tue, 3 Sep 2024 14:01:30 -0600 Subject: [PATCH 2/2] Update allowed_email_description.html --- .../admin/includes/descriptions/allowed_email_description.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.