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
Copy file name to clipboardExpand all lines: docs/extending.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -111,7 +111,7 @@ You will need to customize the following templates:
111
111
* ``comments/form.html`` to include new fields.
112
112
* ``comments/preview.html`` to preview new fields.
113
113
* ``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``.
115
115
* ``django_comments_xtd/reply.html`` to show the new field when displaying the comment the user is replying to.
Copy file name to clipboardExpand all lines: example/custom/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
The Custom Demo exhibits how to extend django-comments-xtd. This demo used the same **articles** app present in the other two demos, plus:
4
4
5
5
* 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
+
7
7
To extend django-comments-xtd follow the next steps:
8
8
9
9
1. Set up `COMMENTS_APP` to `django_comments_xtd`
@@ -13,5 +13,5 @@ To extend django-comments-xtd follow the next steps:
13
13
*`comments/form.html` to include new fields.
14
14
*`comments/preview.html` to preview new fields.
15
15
*`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`.
17
17
*`django_comments_xtd/reply.html` to show the new field when displaying the comment the user is replying to.
0 commit comments