Django

Code

Changeset 7408

Show
Ignore:
Timestamp:
04/08/08 01:28:50 (3 months ago)
Author:
ubernostrum
Message:

Fix a minor typo in docs/newforms.txt

Files:

Legend:

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

    r7387 r7408  
    15561556string representations of the objects for use in the field's choices; 
    15571557to provide customized representations, subclass ``ModelChoiceField`` 
    1558 and override ``label_for_model``. This method will receive model 
    1559 object, and should return a string suitable for representing it:: 
     1558and override ``label_for_model``. This method will receive a model 
     1559object, and should return a string suitable for representing it. For 
     1560example:: 
    15601561 
    15611562    class MyModelChoiceField(ModelChoiceField):