diff options
| author | Marti Raudsepp <marti@juffo.org> | 2014-04-23 02:05:14 +0300 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-04-22 20:13:43 -0400 |
| commit | c5306d4af1e9430d2397e8d83b37fa3598a17e83 (patch) | |
| tree | 4bc6b1fd1b4112152fd299bfedf6b5dc7846cb49 /docs/topics/forms | |
| parent | 49f5a2949311c6aaaac0005c4f6ab79cf96ee09d (diff) | |
[1.6.x] Various documentation typo/spelling fixes
Errors detected by Topy (https://github.com/intgr/topy), all changes
verified by hand.
Backport of 11d453bcadad3c9a5ae35882792d0f1e8e8e7818 from master
Diffstat (limited to 'docs/topics/forms')
| -rw-r--r-- | docs/topics/forms/index.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/topics/forms/index.txt b/docs/topics/forms/index.txt index 70ed4a9c3d..46bd2b7271 100644 --- a/docs/topics/forms/index.txt +++ b/docs/topics/forms/index.txt @@ -96,6 +96,7 @@ The standard pattern for processing a form in a view looks like this: def contact(request): if request.method == 'POST': # If the form has been submitted... + # ContactForm was defined in the previous section form = ContactForm(request.POST) # A form bound to the POST data if form.is_valid(): # All validation rules pass # Process the data in form.cleaned_data |
