Rename backref to service model

To reflect the new name. Appears this is only used by the tests.
This commit is contained in:
Chris Hill-Scott
2020-07-28 11:23:30 +01:00
parent 083573e4dc
commit e41022214f
5 changed files with 9 additions and 9 deletions

View File

@@ -43,7 +43,7 @@ def service_allowed_to_send_to(recipient, service, key_type, allow_guest_list_re
[user.mobile_number, user.email_address] for user in service.users
)
guest_list_members = [
member.recipient for member in service.whitelist
member.recipient for member in service.guest_list
if allow_guest_list_recipients
]