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
This commit is contained in:
Adrian Holovaty 2006-01-09 00:51:48 +00:00
parent f02861fa93
commit 6af37477bd
2 changed files with 2 additions and 2 deletions

View File

@ -312,7 +312,7 @@ method. For example::
the_place = meta.OneToOneField(places.Place) the_place = meta.OneToOneField(places.Place)
In the above example, each ``Place`` will have a ``get_restaurant()`` method, 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 Many-to-one relations
--------------------- ---------------------

View File

@ -465,7 +465,7 @@ a template loader. Here are the built-in template loaders:
directories, in this order: directories, in this order:
* ``/path/to/myproject/polls/templates/foo.html`` * ``/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: Note that the loader performs an optimization when it is first imported:
It caches a list of which ``INSTALLED_APPS`` packages have a ``templates`` It caches a list of which ``INSTALLED_APPS`` packages have a ``templates``