Parcourir la source

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
Karen Tracey il y a 16 ans
Parent
commit
33e77db6a2
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      docs/intro/tutorial02.txt

+ 1 - 1
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()