Skip to content

Commit

Permalink
+
Browse files Browse the repository at this point in the history
  • Loading branch information
Ederporto committed Feb 3, 2024
1 parent f79cd04 commit ad022fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metrics/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def get_done_for_report(reports):
}

def update_metrics_relations(request):
main_funding = Project.objects.get(text="Wikimedia Community Fund")
main_funding = Project.objects.get(main_funding=True)
editors_metrics = Metric.objects.filter(project=main_funding).filter(Q(number_of_editors__gt=0) | Q(number_of_editors_retained__gt=0) | Q(number_of_new_editors__gt=0))
reports = Report.objects.filter(Q(metrics_related__number_of_editors__gt=0))
for report in reports:
Expand Down

0 comments on commit ad022fd

Please sign in to comment.