diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2007-01-03 14:16:58 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2007-01-03 14:16:58 +0000 |
| commit | e1c6e987d07efb3ee9471e63541f9561b461ea44 (patch) | |
| tree | 1ff63ba58593a4a6d58a25e2e49811e82f414e43 /docs/tutorial03.txt | |
| parent | c3f891210a05a9593e3df4cb04dfda7442af2065 (diff) | |
Fixed #2756 -- Modified the get_object_or_404/get_list_or_404 shortcuts to accept model managers as well as model classes. Thanks, Gary Wilson.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4275 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/tutorial03.txt')
| -rw-r--r-- | docs/tutorial03.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorial03.txt b/docs/tutorial03.txt index c4c1b4c546..41d11d9e6e 100644 --- a/docs/tutorial03.txt +++ b/docs/tutorial03.txt @@ -300,7 +300,7 @@ rewritten:: The ``get_object_or_404()`` function takes a Django model module as its first argument and an arbitrary number of keyword arguments, which it passes to the -module's ``get_object()`` function. It raises ``Http404`` if the object doesn't +module's ``get()`` function. It raises ``Http404`` if the object doesn't exist. .. admonition:: Philosophy |
