diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2007-08-07 02:18:36 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2007-08-07 02:18:36 +0000 |
| commit | 404bf3b1886aab17dc5f982ad9d093bcd5e13576 (patch) | |
| tree | 6c34ee19bfc8d2018e10c6eb81c5a0340a0a1839 /docs | |
| parent | 3ed49976111ce87b7d0a5a2890093659469940a0 (diff) | |
Fixed #5105 -- Fixed two ReST errors in docs/newforms.txt. Thanks, Ramiro Morales
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5824 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/newforms.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/newforms.txt b/docs/newforms.txt index 4f63411875..acc28604df 100644 --- a/docs/newforms.txt +++ b/docs/newforms.txt @@ -748,7 +748,7 @@ form data):: >>> f = ContactFormWithMugshot(request.POST, request.FILES) Constructing an unbound form is the same as always -- just omit both -form data *and* file data: +form data *and* file data:: # Unbound form with a image field >>> f = ContactFormWithMugshot() @@ -1625,8 +1625,8 @@ When you use a simple ``save()`` on a form, all data -- including many-to-many data -- is saved without the need for any additional method calls. For example:: - # Create a form instance with POST data. - >>> f = AuthorForm(request.POST) + # Create a form instance with POST data. + >>> f = AuthorForm(request.POST) # Create and save the new author instance. There's no need to do anything else. >>> new_author = f.save() |
