diff options
author | Karen Tracey <kmtracey@gmail.com> | 2009-05-17 17:43:15 +0000 |
---|---|---|
committer | Karen Tracey <kmtracey@gmail.com> | 2009-05-17 17:43:15 +0000 |
commit | 33e77db6a27a9058a265144f9b72969aba409af9 (patch) | |
tree | ebf7cbb74b678507f25d4d451dd4aedc72ea5f49 | |
parent | 5a4ad739b772593bb31bd5fd6af07d3a4e047406 (diff) | |
download | django-33e77db6a27a9058a265144f9b72969aba409af9.tar.gz |
Fixed #10925 -- Clarified the location of some code referenced in the tutorial. Thanks rm and timo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10808 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r-- | docs/intro/tutorial02.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/intro/tutorial02.txt b/docs/intro/tutorial02.txt index c9b476db71..ba884bdee7 100644 --- a/docs/intro/tutorial02.txt +++ b/docs/intro/tutorial02.txt @@ -344,7 +344,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() |