Skip to content

Commit 3063f0d

Browse files
tkin91e55danirus
authored andcommitted
comments_tree.html to comment_tree.html
* The INSTALLED_APP order matters for the template overriding user's own app order should go before django_comments_xtd
1 parent 7c85351 commit 3063f0d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

django_comments_xtd/templatetags/comments_xtd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ def render(self, context):
395395
def render_xtdcomment_tree(parser, token):
396396
"""
397397
Render the nested comment tree structure posted to the given object.
398-
By default uses the template ``django_comments_xtd/comments_tree.html``.
398+
By default uses the template ``django_comments_xtd/comment_tree.html``.
399399
400400
Syntax::
401401

docs/extending.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ You will need to customize the following templates:
111111
* ``comments/form.html`` to include new fields.
112112
* ``comments/preview.html`` to preview new fields.
113113
* ``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.
114-
* ``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``.
114+
* ``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``.
115115
* ``django_comments_xtd/reply.html`` to show the new field when displaying the comment the user is replying to.
116116

117117

example/custom/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
The Custom Demo exhibits how to extend django-comments-xtd. This demo used the same **articles** app present in the other two demos, plus:
44

55
* A new django application, called `mycomments`, with a model `MyComment` that extends the `django_comments_xtd.models.MyComment` model with a field `title`.
6-
6+
77
To extend django-comments-xtd follow the next steps:
88

99
1. Set up `COMMENTS_APP` to `django_comments_xtd`
@@ -13,5 +13,5 @@ To extend django-comments-xtd follow the next steps:
1313
* `comments/form.html` to include new fields.
1414
* `comments/preview.html` to preview new fields.
1515
* `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.
16-
* `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`.
16+
* `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`.
1717
* `django_comments_xtd/reply.html` to show the new field when displaying the comment the user is replying to.

0 commit comments

Comments
 (0)