summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Tracey <kmtracey@gmail.com>2009-05-17 17:45:12 +0000
committerKaren Tracey <kmtracey@gmail.com>2009-05-17 17:45:12 +0000
commite2189f6d247d9d0125cf8c46da9e1dd3f3b5d17e (patch)
treeb3a8bf01d18ff0b6c92c48254f1373a891c46558
parent509dfdd3a75bd8c8529d73ca04e6cfbecc82066e (diff)
[1.0.X] Fixed #10925 -- Clarified the location of some code referenced in the tutorial. Thanks rm and timo.
r10808 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--docs/intro/tutorial02.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/intro/tutorial02.txt b/docs/intro/tutorial02.txt
index ca74c0113d..61215def99 100644
--- a/docs/intro/tutorial02.txt
+++ b/docs/intro/tutorial02.txt
@@ -341,7 +341,7 @@ case of the ``was_published_today`` header, because sorting by the output of
an arbitrary method is not supported. Also note that the column header for
``was_published_today`` is, by default, the name of the method (with
underscores replaced with spaces). But you can change that by giving that
-method a ``short_description`` attribute::
+method (in ``models.py``) a ``short_description`` attribute::
def was_published_today(self):
return self.pub_date.date() == datetime.date.today()