-
- Downloads
Added VisibleCommentFeedbackSerializer
Only Comments that are `visible_to_student=True` will be serialized. For some weird reason i had to resort to a little hack in the serializer, see the comment inside the `get_feedback_lines()` method of the serializer for context. I choose to not remove Feedback that is not final from the response of the student submissions endpoint (as outlined in #91) and will instead show a message in the frontend. This is easier to implement and potentially better for debugging in the frontend.
parent
a8480afc
No related branches found
No related tags found
Showing
- core/serializers/__init__.py 2 additions, 1 deletioncore/serializers/__init__.py
- core/serializers/feedback.py 27 additions, 1 deletioncore/serializers/feedback.py
- core/serializers/submission.py 2 additions, 1 deletioncore/serializers/submission.py
- core/tests/test_student_page.py 30 additions, 8 deletionscore/tests/test_student_page.py
Loading
Please register or sign in to comment