Improved wording in tutorial 1.

This commit is contained in:
Alex Shaindlin 2015-02-27 16:56:38 -05:00 committed by Tim Graham
parent 5cf96b49e4
commit dcdef1fe2e
1 changed files with 2 additions and 2 deletions

View File

@ -668,8 +668,8 @@ of this object. Let's fix that by editing the ``Question`` model (in the
return self.choice_text return self.choice_text
It's important to add :meth:`~django.db.models.Model.__str__` methods to your It's important to add :meth:`~django.db.models.Model.__str__` methods to your
models, not only for your own sanity when dealing with the interactive prompt, models, not only for your own convenience when dealing with the interactive
but also because objects' representations are used throughout Django's prompt, but also because objects' representations are used throughout Django's
automatically-generated admin. automatically-generated admin.
.. admonition:: ``__str__`` or ``__unicode__``? .. admonition:: ``__str__`` or ``__unicode__``?