Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Changed an overlooked occurrence of repr() to str(). Pointed out by J…

…eremy

Dunck on the mailing list.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@2967 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 8fbf9714c321b8a4a1a2c76d1d60c2487acc2413 1 parent f953c8a
@malcolmt malcolmt authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/tutorial02.txt
View
4 docs/tutorial02.txt
@@ -284,8 +284,8 @@ Here's what it looks like at this point:
:alt: Polls change list page
:target: http://media.djangoproject.com/img/doc/tutorial/admin04.png
-By default, Django displays the ``repr()`` of each object. But it'd be more
-helpful if we could display individual fields. To do that, use the
+By default, Django displays the ``str()`` of each object. But sometimes it'd
+be more helpful if we could display individual fields. To do that, use the
``list_display`` option, which is a tuple of field names to display, as columns,
on the change list page for the object::
Please sign in to comment.
Something went wrong with that request. Please try again.