From 0dfc8fa8b70fa72d279ffdd1031024855124122c Mon Sep 17 00:00:00 2001 From: rutvikrj26 Date: Fri, 20 Sep 2024 16:19:55 +0530 Subject: [PATCH] Fixing the styling issues --- physionet-django/user/managers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/physionet-django/user/managers.py b/physionet-django/user/managers.py index 68d450396..46b1ecd68 100644 --- a/physionet-django/user/managers.py +++ b/physionet-django/user/managers.py @@ -9,7 +9,8 @@ class TrainingQuerySet(QuerySet): def get_review(self): return self.filter( Q(status=TrainingStatus.REVIEW), - Q(training_type__required_field=RequiredField.DOCUMENT) | Q(training_type__required_field=RequiredField.URL) + Q(training_type__required_field=RequiredField.DOCUMENT) + | Q(training_type__required_field=RequiredField.URL) ) # adding a query to fetch the on-platform courses that are in the status REVIEW.