Deploy tools fabfile does not currently populate MEDIA_ROOT with the contents of source/media.
When a user tries to visit a course with attachments, this causes a 500 error. The solution is to copy the sample media from source/media to MEDIA_ROOT folder.
The error is an OSError caused in courses/views.py
It would be better to replace the attachment with a message saying the attached file is not available.
Deploy tools fabfile does not currently populate MEDIA_ROOT with the contents of source/media. When a user tries to visit a course with attachments, this causes a 500 error. The solution is to copy the sample media from source/media to MEDIA_ROOT folder.
The error is an OSError caused in courses/views.py It would be better to replace the attachment with a message saying the attached file is not available.