1
0
mirror of https://github.com/django/django.git synced 2025-10-30 00:56:09 +00:00

[1.6.x] Fixed #20224 -- Update docs examples which mention __unicode__

Thanks Marc Tamlyn and Tim Graham for the review.
Backport of 7442eb1a24 from master.
This commit is contained in:
Claude Paroz
2013-07-04 15:19:33 +02:00
parent 430aae1b0d
commit a9dd6221af
24 changed files with 65 additions and 24 deletions

View File

@@ -65,8 +65,8 @@ of using ``ogrinspect`` :ref:`in the tutorial <ogrinspect-intro>`.
.. django-admin-option:: --name-field <name_field>
Generates a ``__unicode__`` routine on the model that will return the
the given field name.
Generates a ``__unicode__`` routine (``__str__`` on Python 3) on the model
that will return the the given field name.
.. django-admin-option:: --no-imports