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:
parent
2187fa3ea4
commit
d033dfd894
@ -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.
|
||||
|
||||
|
@ -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] %}
|
||||
|
Loading…
Reference in New Issue
Block a user