You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## django_comments_xtd/reply.html
...
<div class="card-body">
<h4 class="card-title text-center pb-3">{% trans "Post your comment" %}</h4>
{% include "comments/form.html" %}
</div>
...
Q: I really did not see implementation that associates the reply with the existing comment, in other words, the reply's thread_id, parent_id, level are given value accordingly. Did I overlook anything?
why I want to dig out this is because I want to customize it a bit so that clicking on reply will not redirect user to another URL but open comment dialog box right below the reply button, then user types in comments and click "send" directly.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am reviewing source code of django_comments_xtd.
When user replies to existing comments by clicking on "Reply",
User will be taken to
http://example.com/comments/reply/(comment_pk)
, and handled byviews.rely
.Then in
django_comments_xtd/reply.html
Q: I really did not see implementation that associates the reply with the existing comment, in other words, the reply's
thread_id
,parent_id
,level
are given value accordingly. Did I overlook anything?why I want to dig out this is because I want to customize it a bit so that clicking on reply will not redirect user to another URL but open comment dialog box right below the reply button, then user types in comments and click "send" directly.
Beta Was this translation helpful? Give feedback.
All reactions