summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2006-01-09 00:51:48 +0000
committerAdrian Holovaty <adrian@holovaty.com>2006-01-09 00:51:48 +0000
commit6af37477bd8c3e6ac545d1461c5d2b5d63c2ffbd (patch)
treedc84c7fd1e57de93c9c0f56e58e85b8c87de881e /docs
parentf02861fa930b8b18cd2d51801e67ac2c482ed31a (diff)
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
Diffstat (limited to 'docs')
-rw-r--r--docs/db-api.txt2
-rw-r--r--docs/templates_python.txt2
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``