diff --git a/docs/db-api.txt b/docs/db-api.txt index bb0011d6e2..d09d2a14e7 100644 --- a/docs/db-api.txt +++ b/docs/db-api.txt @@ -312,7 +312,7 @@ method. For example:: 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 --------------------- diff --git a/docs/templates_python.txt b/docs/templates_python.txt index 0d2d3717bb..04be6853f7 100644 --- a/docs/templates_python.txt +++ b/docs/templates_python.txt @@ -465,7 +465,7 @@ a template loader. Here are the built-in template loaders: 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``