From c5c61b261ed495f0ce3ecd646dce6af4dfbe39b7 Mon Sep 17 00:00:00 2001 From: Jacob Kaplan-Moss Date: Tue, 26 Aug 2008 15:23:02 +0000 Subject: [PATCH] Fixed #8555: corrected `get_comment_form` tag documentation. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8581 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/ref/contrib/comments/index.txt | 4 ++-- 1 file 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 ` 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 }}