a few minor changes
This commit is contained in:
@@ -992,6 +992,12 @@ class ExamBase(ExamOrCollectionGenericBase):
|
||||
else:
|
||||
return False
|
||||
|
||||
def get_user_users_with_scores(self):
|
||||
user_ids = [i[2:] for i in self.user_scores if i.startswith("u/")]
|
||||
|
||||
return User.objects.filter(pk__in=user_ids)
|
||||
|
||||
|
||||
def generate_user_report(self, user):
|
||||
exam_text = [f"Candidate {user.first_name} [{user.email}]"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user