Author: jacob
Date: 2008-08-26 10:23:02 -0500 (Tue, 26 Aug 2008)
New Revision: 8581

Modified:
   django/trunk/docs/ref/contrib/comments/index.txt
Log:
Fixed #8555: corrected `get_comment_form` tag documentation.


Modified: django/trunk/docs/ref/contrib/comments/index.txt
===================================================================
--- django/trunk/docs/ref/contrib/comments/index.txt    2008-08-26 08:58:07 UTC 
(rev 8580)
+++ django/trunk/docs/ref/contrib/comments/index.txt    2008-08-26 15:23:02 UTC 
(rev 8581)
@@ -146,11 +146,11 @@
 :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">


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to