Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion django_comments_xtd/templatetags/comments_xtd.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ def render(self, context):
def render_xtdcomment_tree(parser, token):
"""
Render the nested comment tree structure posted to the given object.
By default uses the template ``django_comments_xtd/comments_tree.html``.
By default uses the template ``django_comments_xtd/comment_tree.html``.

Syntax::

Expand Down
2 changes: 1 addition & 1 deletion docs/extending.rst
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ You will need to customize the following templates:
* ``comments/form.html`` to include new fields.
* ``comments/preview.html`` to preview new fields.
* ``django_comments_xtd/email_confirmation_request.{txt|html}`` to add the new fields to the confirmation request, if it was necessary. This demo overrides them to include the ``title`` field in the mail.
* ``django_comments_xtd/comments_tree.html`` to show the new field when displaying the comments. If your project doesn't allow nested comments you can use either this template or `comments/list.html``.
* ``django_comments_xtd/comment_tree.html`` to show the new field when displaying the comments. If your project doesn't allow nested comments you can use either this template or `comments/list.html``.
* ``django_comments_xtd/reply.html`` to show the new field when displaying the comment the user is replying to.


Expand Down
4 changes: 2 additions & 2 deletions example/custom/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
The Custom Demo exhibits how to extend django-comments-xtd. This demo used the same **articles** app present in the other two demos, plus:

* A new django application, called `mycomments`, with a model `MyComment` that extends the `django_comments_xtd.models.MyComment` model with a field `title`.

To extend django-comments-xtd follow the next steps:

1. Set up `COMMENTS_APP` to `django_comments_xtd`
Expand All @@ -13,5 +13,5 @@ To extend django-comments-xtd follow the next steps:
* `comments/form.html` to include new fields.
* `comments/preview.html` to preview new fields.
* `django_comments_xtd/email_confirmation_request.{txt|html}` to add the new fields to the confirmation request, if it was necessary. This demo overrides them to include the `title` field in the mail.
* `django_comments_xtd/comments_tree.html` to show the new field when displaying the comments. If your project doesn't allow nested comments you can use either this template or `comments/list.html`.
* `django_comments_xtd/comment_tree.html` to show the new field when displaying the comments. If your project doesn't allow nested comments you can use either this template or `comments/list.html`.
* `django_comments_xtd/reply.html` to show the new field when displaying the comment the user is replying to.
Loading