[1.7.x] Improved wording in tutorial 1.
Backport of dcdef1fe2ec59a7aeca39efc5a29f0d238d0c560 from master
This commit is contained in:
parent
0831a43c3a
commit
9cd8343cc3
@ -670,8 +670,8 @@ of this object. Let's fix that by editing the ``Question`` model (in the
|
||||
return self.choice_text
|
||||
|
||||
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,
|
||||
but also because objects' representations are used throughout Django's
|
||||
models, not only for your own convenience when dealing with the interactive
|
||||
prompt, but also because objects' representations are used throughout Django's
|
||||
automatically-generated admin.
|
||||
|
||||
.. admonition:: ``__str__`` or ``__unicode__``?
|
||||
|
Loading…
x
Reference in New Issue
Block a user