1. Luke Plant
  2. django

Commits

adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37  committed edc1939

Fixed #1116 -- Fixed two typos in docs. Thanks, Cheng

  • Participants
  • Parent commits 7f4fe9a
  • Branches default

Comments (0)

Files changed (2)

File docs/db-api.txt

View file
         the_place = meta.OneToOneField(places.Place)
 
 In the above example, each ``Place`` will have a ``get_restaurant()`` method,
-and each ``Restaurant`` will have a ``get_theplace()`` method.
+and each ``Restaurant`` will have a ``get_the_place()`` method.
 
 Many-to-one relations
 ---------------------

File docs/templates_python.txt

View file
     directories, in this order:
 
         * ``/path/to/myproject/polls/templates/foo.html``
-        * ``/path/to/myproject/music/templates/music.html``
+        * ``/path/to/myproject/music/templates/foo.html``
 
     Note that the loader performs an optimization when it is first imported:
     It caches a list of which ``INSTALLED_APPS`` packages have a ``templates``