Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #8555: corrected `get_comment_form` tag documentation.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8581 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit c5c61b261ed495f0ce3ecd646dce6af4dfbe39b7 1 parent 4f711eb
@jacobian jacobian authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/ref/contrib/comments/index.txt
View
4 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">
Please sign in to comment.
Something went wrong with that request. Please try again.