Django

Code

Changeset 4291

Show
Ignore:
Timestamp:
01/05/07 14:14:26 (2 years ago)
Author:
adrian
Message:

Fixed #3236 -- Fixed some typos in docs/newforms.txt. Thanks, christoffer.carlborg@gmail.com

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/newforms.txt

    r4289 r4291  
    8686fields, in a declarative style that you'll be familiar with if you've used 
    8787Django database models. In this section, we'll iteratively develop a form 
    88 object that you might to implement "contact me" functionality on your personal 
    89 Web site. 
     88object that you might use to implement "contact me" functionality on your 
     89personal Web site. 
    9090 
    9191Start with this basic ``Form`` subclass, which we'll call ``ContactForm``:: 
     
    308308      ``BooleanField`` is represented by an ``<input type="checkbox">``. Note 
    309309      these are merely sensible defaults; you can specify which HTML to use for 
    310       a given field by using ``widgets``, which we'll explain shortly. 
     310      a given field by using widgets, which we'll explain shortly. 
    311311 
    312312    * The HTML ``name`` for each tag is taken directly from its attribute name 
     
    314314 
    315315    * The text label for each field -- e.g. ``'Subject:'``, ``'Message:'`` and 
    316       ``'CC myself:'`` is generated from the field name by converting all 
     316      ``'Cc myself:'`` is generated from the field name by converting all 
    317317      underscores to spaces and upper-casing the first letter. Again, note 
    318318      these are merely sensible defaults; you can also specify labels manually.