Django

Code

Changeset 9560

Show
Ignore:
Timestamp:
12/02/08 23:53:57 (1 month ago)
Author:
mtredinnick
Message:

[1.0.X] Fixed #9734 -- Typo fix in the custom fields documentation, pointed out by
col16.

Backport of r9557 from trunk.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/branches/releases/1.0.X/docs/howto/custom-model-fields.txt

    r9315 r9560  
    3232 
    3333Creating custom fields requires a bit of attention to detail. To make things 
    34 easier to follow, we'll use a consistent example throughout this document. 
    35 Suppose you have a Python object representing the deal of cards in a hand of 
    36 Bridge_. (Don't worry, you don't know how to play Bridge to follow this 
    37 example. You only need to know that 52 cards are dealt out equally to four 
    38 players, who are traditionally called *north*, *east*, *south* and *west*.) 
    39 Our class looks something like this:: 
     34easier to follow, we'll use a consistent example throughout this document: 
     35wrapping a Python object representing the deal of cards in a hand of Bridge_. 
     36Don't worry, you don't have know how to play Bridge to follow this example. 
     37You only need to know that 52 cards are dealt out equally to four players, who 
     38are traditionally called *north*, *east*, *south* and *west*.  Our class looks 
     39something like this:: 
    4040 
    4141    class Hand(object):