Author: mtredinnick
Date: 2008-12-02 23:53:57 -0600 (Tue, 02 Dec 2008)
New Revision: 9560
Modified:
django/branches/releases/1.0.X/docs/howto/custom-model-fields.txt
Log:
[1.0.X] Fixed #9734 -- Typo fix in the custom fields documentation, pointed out
by
col16.
Backport of r9557 from trunk.
Modified: django/branches/releases/1.0.X/docs/howto/custom-model-fields.txt
===================================================================
--- django/branches/releases/1.0.X/docs/howto/custom-model-fields.txt
2008-12-03 05:53:26 UTC (rev 9559)
+++ django/branches/releases/1.0.X/docs/howto/custom-model-fields.txt
2008-12-03 05:53:57 UTC (rev 9560)
@@ -31,12 +31,12 @@
------------------
Creating custom fields requires a bit of attention to detail. To make things
-easier to follow, we'll use a consistent example throughout this document.
-Suppose you have a Python object representing the deal of cards in a hand of
-Bridge_. (Don't worry, you don't know how to play Bridge to follow this
-example. You only need to know that 52 cards are dealt out equally to four
-players, who are traditionally called *north*, *east*, *south* and *west*.)
-Our class looks something like this::
+easier to follow, we'll use a consistent example throughout this document:
+wrapping a Python object representing the deal of cards in a hand of Bridge_.
+Don't worry, you don't have know how to play Bridge to follow this example.
+You only need to know that 52 cards are dealt out equally to four players, who
+are traditionally called *north*, *east*, *south* and *west*. Our class looks
+something like this::
class Hand(object):
def __init__(self, north, east, south, west):
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---