summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2007-01-05 20:14:26 +0000
committerAdrian Holovaty <adrian@holovaty.com>2007-01-05 20:14:26 +0000
commit9cb85eb370dba6d4c73fabf68d913f37e46724e4 (patch)
tree63d36072bd4239534a5bfb824353b3c9120f8963 /docs
parent8a8d05a318343ce40f20b76d4e8629f1fa306d79 (diff)
Fixed #3236 -- Fixed some typos in docs/newforms.txt. Thanks, christoffer.carlborg@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4291 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/newforms.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/newforms.txt b/docs/newforms.txt
index 2a5a149690..5d49e83160 100644
--- a/docs/newforms.txt
+++ b/docs/newforms.txt
@@ -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
-======= \ No newline at end of file
+=======