Django threadedcomments - how do I reply to a comment? -
i trying integrate threadedcommetns django app , having trouble in uderstanding how works. here how template looks (based on example tutorial):
<h3>comments on post:</h3> {% get_threaded_comment_tree post tree %} {% comment in tree %} <div style="margin-left: {{ comment.depth }}em;" class="comment"> {% link_to_profile comment.user %} {% auto_transform_markup comment %} </div> {% endfor %} <p>reply original:</p> <form method="post" action="{% get_comment_url post %}"> {% csrf_token %} <ul> {% get_threaded_comment_form form %} {{ form.as_ul }} <li><input type="submit" value="submit comment" /></li> </ul> </form>
so, if threaded comments, how reply comment left someone? form that? managed reply original
form, this, comments not threaded @ all.
i grateful help.
p.s. actually,i not happy how app working django 1.3, suggesting alternative great answer too.
seems django threadedcommetns not popular here :)
i've found great library: django-mptt
here tutorial describes how implement threaded comments in django using django-mptt: http://codeblogging.net/blogs/1/3/
Comments
Post a Comment