Django

Code

Changeset 5824

Show
Ignore:
Timestamp:
08/06/07 21:18:36 (1 year ago)
Author:
adrian
Message:

Fixed #5105 -- Fixed two ReST errors in docs/newforms.txt. Thanks, Ramiro Morales

Files:

Legend:

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

    r5820 r5824  
    749749 
    750750Constructing an unbound form is the same as always -- just omit both 
    751 form data *and* file data: 
     751form data *and* file data:: 
    752752 
    753753    # Unbound form with a image field 
     
    16261626For example:: 
    16271627 
    1628        # Create a form instance with POST data. 
    1629        >>> f = AuthorForm(request.POST) 
     1628    # Create a form instance with POST data. 
     1629    >>> f = AuthorForm(request.POST) 
    16301630 
    16311631    # Create and save the new author instance. There's no need to do anything else.