You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 30, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: controllers/assignments.py
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -146,11 +146,12 @@ def get_summary():
146
146
.first()
147
147
)
148
148
res=db.executesql(
149
-
f"""
149
+
"""
150
150
select chapter, name, min(score), max(score), to_char(avg(score), '00.999') as mean, count(score) from assignment_questions join questions on question_id = questions.id join question_grades on name = div_id
151
-
where assignment_id = {assignment.id} and course_name = '{auth.user.course_name}'
0 commit comments