From 6af37477bd8c3e6ac545d1461c5d2b5d63c2ffbd Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Mon, 9 Jan 2006 00:51:48 +0000 Subject: [PATCH] Fixed #1116 -- Fixed two typos in docs. Thanks, Cheng git-svn-id: http://code.djangoproject.com/svn/django/trunk@1871 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/db-api.txt | 2 +- docs/templates_python.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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``