Code

Opened 6 years ago

Closed 6 years ago

#6683 closed (fixed)

Minor typos in docs/newforms.txt

Reported by: Atul Varma <varmaa@…> Owned by: nobody
Component: Documentation Version: master
Severity: Keywords: newforms
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Just a few typos in the latest revision of this file; a patch correcting them is below.

Index: docs/newforms.txt
===================================================================
--- docs/newforms.txt	(revision 7174)
+++ docs/newforms.txt	(working copy)
@@ -1565,9 +1565,9 @@
 
 These methods are run in the order given above, one field at a time.  That is,
 for each field in the form (in the order they are declared in the form
-definition), the ``Field.clean()`` method (or it's override) is run, then
+definition), the ``Field.clean()`` method (or its override) is run, then
 ``clean_<fieldname>()``. Finally, once those two methods are run for every
-field, the ``Form.clean()`` method, or it's override, is executed.
+field, the ``Form.clean()`` method, or its override, is executed.
 
 As mentioned above, any of these methods can raise a ``ValidationError``. For
 any field, if the ``Field.clean()`` method raises a ``ValidationError``, any
@@ -1689,7 +1689,7 @@
         comment = forms.CharField()
 
 This form will include three default TextInput widgets, with default rendering -
-no CSS class, no extra attributes. This means that the inputs boxes provided for
+no CSS class, no extra attributes. This means that the input boxes provided for
 each widget will be rendered exactly the same::
 
     >>> f = CommentForm(auto_id=False)

Attachments (1)

6683.docs.newforms.diff (1.2 KB) - added by PJCrosier 6 years ago.
Patch from comments

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by PJCrosier

Patch from comments

comment:1 Changed 6 years ago by PJCrosier

  • Keywords newforms added
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 6 years ago by ubernostrum

  • Resolution set to fixed
  • Status changed from new to closed

(In [7300]) Fixed #6683: corrected some typos in docs/newforms.txt. Thanks PJCrosier for the patch, and Atul Varma for spotting the errors.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.