0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00

Added a few more versionadded directives to the documentation.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12248 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jannis Leidel 2010-01-17 22:29:50 +00:00
parent 2187fa3ea4
commit d033dfd894
2 changed files with 4 additions and 0 deletions

View File

@ -39,6 +39,8 @@ available in the context, then you can refer to it directly::
{% get_comment_count for entry as comment_count %}
<p>{{ comment_count }} comments have been posted.</p>
.. versionadded:: 1.2
Next, we can use the :ttag:`render_comment_list` tag, to render all comments
to the given instance (``entry``) by using the ``comments/list.html`` template.

View File

@ -132,6 +132,8 @@ details.
Linking to comments
-------------------
.. versionadded:: 1.2
To provide a permalink to a specific comment, use :ttag:`get_comment_permalink`::
{% get_comment_permalink comment_obj [format_string] %}