Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
  • Loading branch information...
commit 6af37477bd8c3e6ac545d1461c5d2b5d63c2ffbd 1 parent f02861f
@adrianholovaty adrianholovaty authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  docs/db-api.txt
  2. +1 −1  docs/templates_python.txt
View
2  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
---------------------
View
2  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``
Please sign in to comment.
Something went wrong with that request. Please try again.