]> git.parisson.com Git - teleforma.git/commitdiff
fix write
authorGuillaume Pellerin <guillaume.pellerin@parisson.com>
Mon, 18 May 2026 21:58:32 +0000 (23:58 +0200)
committerGuillaume Pellerin <guillaume.pellerin@parisson.com>
Mon, 18 May 2026 21:58:32 +0000 (23:58 +0200)
teleforma/views/crfpa.py

index 0ba00b5351398f515abbe6af6ccf45a6a0975f6b..a2f99f493cf8d0056a1bc4d776351fb619c386c1 100644 (file)
@@ -1295,6 +1295,6 @@ class StudentReadingsXLSBook:
 
         row = 1
         for doc_read in self.student.user.private_documents.all():
-            self.sheet_docs.write(row, 0, str(doc_read.media))
+            self.sheet_docs.write(row, 0, str(doc_read.document))
             row += 1