질문&답변
2020. 05. 15.
like_count
models.py의 Post 클래스에서 property 데코레이터를 사용해 like_count 메서드를 속성처럼 사용해 접근할 수 있게 했습니다. 그래서 post.like_count로 사용하네요.