summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorJacob Kaplan-Moss <jacob@jacobian.org>2008-08-26 15:23:02 +0000
committerJacob Kaplan-Moss <jacob@jacobian.org>2008-08-26 15:23:02 +0000
commitc5c61b261ed495f0ce3ecd646dce6af4dfbe39b7 (patch)
treecf761b65261ffc280b54c8ce4446c7558cc82ab3 /docs/ref
parent4f711eb5e3875a738262009a46f013c46b3dbc25 (diff)
Fixed #8555: corrected `get_comment_form` tag documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8581 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/contrib/comments/index.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/contrib/comments/index.txt b/docs/ref/contrib/comments/index.txt
index 97e69d11cb..1e9418b55a 100644
--- a/docs/ref/contrib/comments/index.txt
+++ b/docs/ref/contrib/comments/index.txt
@@ -146,11 +146,11 @@ If you want more control over the look and feel of the comment form, you use use
:ttag:`get_comment_form` to get a :ref:`form object <topics-forms-index>` that
you can use in the template::
- {% get_comment_form for [object] %}
+ {% get_comment_form for [object] as [varname] %}
A complete form might look like::
- {% get_comment_form for event %}
+ {% get_comment_form for event as form %}
<form action="{% comment_form_target %}" method="POST">
{{ form }}
<p class="submit">