Commit be36b7f3 authored by Skia's avatar Skia
Browse files

com: fix birthdays query

parent 09bde1bf
Pipeline #1518 passed with stage
in 8 minutes and 51 seconds
......@@ -325,7 +325,7 @@ class NewsListView(CanViewMixin, ListView):
kwargs['timedelta'] = timedelta
kwargs['birthdays'] = User.objects\
.filter(role__in=['STUDENT', 'FORMER_STUDENT'])\
.filter(role__in=['STUDENT', 'FORMER STUDENT'])\
return kwargs
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment