Django

Code

Changeset 7978

Show
Ignore:
Timestamp:
07/19/08 06:27:55 (1 month ago)
Author:
russellm
Message:

Fixed #7832 -- Corrected a formatting error in the newforms docs. Thanks to omat@gezgin.com for the report.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/newforms.txt

    r7977 r7978  
    21972197 
    21982198You might want to allow the user to create several articles at once. To create 
    2199 a formset of ``ArticleForm``s you would do:: 
     2199a formset of out of an ``ArticleForm`` you would do:: 
    22002200 
    22012201    >>> from django.newforms.formsets import formset_factory 
     
    24722472    <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> 
    24732473 
    2474 Using a formsets in views and templates 
    2475 --------------------------------------- 
     2474Using a formset in views and templates 
     2475-------------------------------------- 
    24762476 
    24772477Using a formset inside a view is as easy as using a regular ``Form`` class.