Author: russellm
Date: 2008-07-19 06:27:55 -0500 (Sat, 19 Jul 2008)
New Revision: 7978
Modified:
django/trunk/docs/newforms.txt
Log:
Fixed #7832 -- Corrected a formatting error in the newforms docs. Thanks to
[EMAIL PROTECTED] for the report.
Modified: django/trunk/docs/newforms.txt
===================================================================
--- django/trunk/docs/newforms.txt 2008-07-19 07:53:02 UTC (rev 7977)
+++ django/trunk/docs/newforms.txt 2008-07-19 11:27:55 UTC (rev 7978)
@@ -2196,7 +2196,7 @@
... pub_date = forms.DateField()
You might want to allow the user to create several articles at once. To create
-a formset of ``ArticleForm``s you would do::
+a formset of out of an ``ArticleForm`` you would do::
>>> from django.newforms.formsets import formset_factory
>>> ArticleFormSet = formset_factory(ArticleForm)
@@ -2471,8 +2471,8 @@
<tr><th><label for="id_form-0-pub_date">Pub date:</label></th><td><input
type="text" name="form-0-pub_date" id="id_form-0-pub_date" /></td></tr>
<tr><th><label for="id_form-0-my_field">My field:</label></th><td><input
type="text" name="form-0-my_field" id="id_form-0-my_field" /></td></tr>
-Using a formsets in views and templates
----------------------------------------
+Using a formset in views and templates
+--------------------------------------
Using a formset inside a view is as easy as using a regular ``Form`` class.
The only thing you will want to be aware of is making sure to use the
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---