Django

Code

Changeset 7409

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

Another typo in docs/newforms.txt

Files:

Legend:

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

    r7408 r7409  
    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 a model 
     1558and override ``label_from_instance``. This method will receive a model 
    15591559object, and should return a string suitable for representing it. For 
    15601560example::