Skip to content

Commit acb8b38

Browse files
committed
null contributors excluded
1 parent 05dc483 commit acb8b38

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

website/views/project.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2216,6 +2216,9 @@ def gsoc_pr_report(request):
22162216
merged_at__gte=start_date,
22172217
merged_at__lte=end_date,
22182218
)
2219+
# remove NULL contributors BEFORE bot filters
2220+
.exclude(contributor__isnull=True)
2221+
# Existing bot exclusion (now safe)
22192222
.exclude(
22202223
Q(contributor__contributor_type__iexact="Bot")
22212224
| Q(contributor__name__iendswith="[bot]")

0 commit comments

Comments
 (0)