Commit f3567df4 authored by Anton Akhmerov's avatar Anton Akhmerov

Merge branch '318-exporting-error' into 'master'

Fix error while exporting with no students

Closes #318

See merge request zesje/zesje!156
parents 63f560a8 7e13416a
Pipeline #18105 passed with stages
in 3 minutes and 7 seconds
......@@ -68,7 +68,7 @@ def full_exam_data(exam_id):
if not data:
# No students were assigned.
columns = []
for problem in exam.problems.order_by(
for problem in exam.problems: # Sorted by
if not len(problem.feedback_options):
# There is no possible feedback for this problem.
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