diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2006-05-23 01:34:06 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2006-05-23 01:34:06 +0000 |
| commit | 8fbf9714c321b8a4a1a2c76d1d60c2487acc2413 (patch) | |
| tree | dd0b53444cf85fb113ff558527ecf832ea861337 /docs | |
| parent | f953c8afb6b4a5f675655dae60c820598543cff8 (diff) | |
Changed an overlooked occurrence of repr() to str(). Pointed out by Jeremy
Dunck on the mailing list.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2967 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/tutorial02.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/tutorial02.txt b/docs/tutorial02.txt index d95476aeaf..4cc263dddc 100644 --- a/docs/tutorial02.txt +++ b/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:: |
