From 06c0887199dfdb6f495e3972e9557f83aacd995d Mon Sep 17 00:00:00 2001 From: dzhuang Date: Wed, 13 Sep 2017 23:47:42 +0800 Subject: [PATCH] Fix Participation not imported --- course/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/course/utils.py b/course/utils.py index baa1b6cb..18403204 100644 --- a/course/utils.py +++ b/course/utils.py @@ -1087,6 +1087,7 @@ def will_use_masked_profile_for_email(recipient_email): return False if not isinstance(recipient_email, list): recipient_email = [recipient_email] + from course.models import Participation # noqa recepient_participations = ( Participation.objects.filter( user__email__in=recipient_email -- GitLab