질문&답변
to_representation() 오버라이딩 질문입니다.
안녕하세요. 강사님. 답변 감사합니다. 강사님께서 제공해주신 코드로 진행해보니, id, title, image ... 도 to_representation() 메소드에 영향을 받아 제대로 출력되지 않고, The 'image' attribute has no file associated with it. 라는 에러를 출력합니다.
- 좋아요수
- 0
- 댓글수
- 3
- 조회수
- 508
질문&답변
안녕하세요. 강사님. 답변 감사합니다. 강사님께서 제공해주신 코드로 진행해보니, id, title, image ... 도 to_representation() 메소드에 영향을 받아 제대로 출력되지 않고, The 'image' attribute has no file associated with it. 라는 에러를 출력합니다.