mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
[1.7.x] Various documentation typo/spelling fixes
Errors detected by Topy (https://github.com/intgr/topy), all changes
verified by hand.
Backport of 11d453bcad from master
This commit is contained in:
committed by
Tim Graham
parent
4499c676ef
commit
ba1728dd9b
@@ -96,7 +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 the previous section
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user