Skip to content
Snippets Groups Projects
Commit b1506c27 authored by Brian Moe's avatar Brian Moe
Browse files

Exclude MDC events from rate calculation.

parent 3325617a
No related branches found
No related tags found
No related merge requests found
......@@ -105,7 +105,7 @@ def rate_data():
series[atype].append(
{
"x": ts.strftime("%s"),
"y": Event.objects.filter(q).filter(created__range=(ts, ts+day)).exclude(group__name="Test").count(),
"y": Event.objects.filter(q).filter(created__range=(ts, ts+day)).exclude(group__name="Test").exclude(search__name="MDC").count(),
})
ts += ts_step
n += 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment