feat: rebuild math life around marks and directed endings
This commit is contained in:
@@ -104,5 +104,15 @@ class ProgressionProfileView(APIView):
|
||||
for attempt in request.user.math_game_attempts.all()[:10]
|
||||
],
|
||||
"recent_matches": recent_matches,
|
||||
"story_marks": [
|
||||
{
|
||||
"code": mark.code,
|
||||
"name": mark.name,
|
||||
"domain": mark.domain,
|
||||
"story": mark.story.title,
|
||||
"acquired_at": mark.acquired_at,
|
||||
}
|
||||
for mark in request.user.story_marks.select_related("story")
|
||||
],
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user