Commit 55425020 authored by Julien Palard's avatar Julien Palard
Browse files

FIX: search and replace too greedy.

parent c40a3568
......@@ -190,7 +190,7 @@ class StatsDetailView(UserPassesTestMixin, DetailView):
"is_valid": exercice.nb_valid_anwser > 0,
"slug": exercice.slug,
}
for exercice in Lesson.objects.annotate(
for exercice in Exercise.objects.annotate(
nb_anwser=Count(
"answers", filter=Q(answers__user_id=user.id)
),
......
Supports Markdown
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