Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #5105 -- Fixed two ReST errors in docs/newforms.txt. Thanks, Ra…

…miro Morales

git-svn-id: http://code.djangoproject.com/svn/django/trunk@5824 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 404bf3b1886aab17dc5f982ad9d093bcd5e13576 1 parent 3ed4997
Adrian Holovaty authored August 07, 2007

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. 6  docs/newforms.txt
6  docs/newforms.txt
@@ -748,7 +748,7 @@ form data)::
748 748
     >>> f = ContactFormWithMugshot(request.POST, request.FILES)
749 749
 
750 750
 Constructing an unbound form is the same as always -- just omit both
751  
-form data *and* file data:
  751
+form data *and* file data::
752 752
 
753 753
     # Unbound form with a image field
754 754
     >>> f = ContactFormWithMugshot()
@@ -1625,8 +1625,8 @@ When you use a simple ``save()`` on a form, all data -- including
1625 1625
 many-to-many data -- is saved without the need for any additional method calls.
1626 1626
 For example::
1627 1627
 
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)
1630 1630
 
1631 1631
     # Create and save the new author instance. There's no need to do anything else.
1632 1632
     >>> new_author = f.save()

0 notes on commit 404bf3b

Please sign in to comment.
Something went wrong with that request. Please try again.