Kaydet (Commit) dcdef1fe authored tarafından Alex Shaindlin's avatar Alex Shaindlin Kaydeden (comit) Tim Graham

Improved wording in tutorial 1.

üst 5cf96b49
......@@ -668,8 +668,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__``?
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment