Permalink
Browse files

Fixed #3236 -- Fixed some typos in docs/newforms.txt. Thanks, christ…

…offer.carlborg@gmail.com

git-svn-id: http://code.djangoproject.com/svn/django/trunk@4291 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
adrianholovaty committed Jan 5, 2007
1 parent 8a8d05a commit 9cb85eb370dba6d4c73fabf68d913f37e46724e4
Showing with 5 additions and 5 deletions.
  1. +5 −5 docs/newforms.txt
View
@@ -85,8 +85,8 @@ The primary way of using the ``newforms`` library is to create a form object.
Do this by subclassing ``django.newforms.Form`` and specifying the form's
fields, in a declarative style that you'll be familiar with if you've used
Django database models. In this section, we'll iteratively develop a form
-object that you might to implement "contact me" functionality on your personal
-Web site.
+object that you might use to implement "contact me" functionality on your
+personal Web site.
Start with this basic ``Form`` subclass, which we'll call ``ContactForm``::
@@ -307,13 +307,13 @@ Notice the following:
``EmailField`` are represented by an ``<input type="text">``.
``BooleanField`` is represented by an ``<input type="checkbox">``. Note
these are merely sensible defaults; you can specify which HTML to use for
- a given field by using ``widgets``, which we'll explain shortly.
+ a given field by using widgets, which we'll explain shortly.
* The HTML ``name`` for each tag is taken directly from its attribute name
in the ``ContactForm`` class.
* The text label for each field -- e.g. ``'Subject:'``, ``'Message:'`` and
- ``'CC myself:'`` is generated from the field name by converting all
+ ``'Cc myself:'`` is generated from the field name by converting all
underscores to spaces and upper-casing the first letter. Again, note
these are merely sensible defaults; you can also specify labels manually.
@@ -728,4 +728,4 @@ If you're really itching to learn and use this library, please be patient.
We're working hard on finishing both the code and documentation.
Widgets
-=======
+=======

0 comments on commit 9cb85eb

Please sign in to comment.