We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 62c413a + 7c31f28 commit e120daaCopy full SHA for e120daa
templates/communities/communities_main.html
@@ -67,7 +67,7 @@ <h2 class="diary-title">{{ diary.title }}</h2>
67
{%endif%}
68
<a href="{% url 'diaries:detail_diaries' diary.id %}?next=communities" class="comment-btn" data-diary-id="{{ diary.id }}">
69
<i class="bi bi-chat-dots"></i>
70
- <span id="comment-count-{{ diary.id }}">{{ diary.comment_set.count }}</span>
+ <span id="comment-count-{{ diary.id }}">{{ diary.diary.count }}</span>
71
</a>
72
</div>
73
@@ -130,6 +130,7 @@ <h2 class="diary-title">${diary.title}</h2>
130
131
132
</div>`;
133
+ console.log(diary.diary)
134
});
135
136
// ✅ 필터링 후 새롭게 추가된 좋아요 버튼들에 이벤트 리스너 다시 등록
0 commit comments