From 9cb85eb370dba6d4c73fabf68d913f37e46724e4 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Fri, 5 Jan 2007 20:14:26 +0000 Subject: [PATCH] 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 --- docs/newforms.txt | 10 +++++----- 1 file 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 ````. ``BooleanField`` is represented by an ````. 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 +=======