diff options
author | Aymeric Augustin <aymeric.augustin@polyconseil.fr> | 2012-05-11 12:43:43 +0200 |
---|---|---|
committer | Aymeric Augustin <aymeric.augustin@polyconseil.fr> | 2012-05-11 12:43:43 +0200 |
commit | 367379581fe11ff8a5a7b8729829197750c4dbb0 (patch) | |
tree | a24cda813bc2140e11002d5c57afa8a48a2c56a9 /docs/intro | |
parent | 1c30063faf88662c26c2e8847f1544cdb078e395 (diff) | |
download | django-367379581fe11ff8a5a7b8729829197750c4dbb0.tar.gz |
Fixed #18281 -- Misleading wording in the tutorial.
Thanks bhp for the report.
Diffstat (limited to 'docs/intro')
-rw-r--r-- | docs/intro/tutorial03.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/intro/tutorial03.txt b/docs/intro/tutorial03.txt index 5ed927a9df..c45c944acb 100644 --- a/docs/intro/tutorial03.txt +++ b/docs/intro/tutorial03.txt @@ -332,8 +332,9 @@ provides a shortcut. Here's the ``detail()`` view, rewritten:: The :func:`~django.shortcuts.get_object_or_404` function takes a Django model as its first argument and an arbitrary number of keyword arguments, which it -passes to the module's :meth:`~django.db.models.query.QuerySet.get` function. -It raises :exc:`~django.http.Http404` if the object doesn't exist. +passes to the :meth:`~django.db.models.query.QuerySet.get` function of the +model's manager. It raises :exc:`~django.http.Http404` if the object doesn't +exist. .. admonition:: Philosophy |