| 1555 | | The labels for the choice field call the ``__unicode__`` method of the |
|---|
| 1556 | | model to generate string representations to use in the field's |
|---|
| 1557 | | choices; to provide customized representations,, subclass |
|---|
| 1558 | | ``ModelChoiceField`` and override ``label_for_model``; this method |
|---|
| 1559 | | will receive an object, and should return a string suitable for |
|---|
| 1560 | | representing it:: |
|---|
| | 1555 | The ``__unicode__`` method of the model will be called to generate |
|---|
| | 1556 | string representations of the objects for use in the field's choices; |
|---|
| | 1557 | to 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:: |
|---|