summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2013-06-24 07:00:53 -0400
committerTim Graham <timograham@gmail.com>2013-06-24 07:00:53 -0400
commite161e4ff1176acb1b3636e3f93280055185d3d78 (patch)
tree6f8726e75b5b8f539d49bf882f1ea10faa02342a /docs
parent299983616ffc146a6f5aa03af9b3f4a56853f05c (diff)
Clarified get_list_or_404 docs, refs #14150.
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/http/shortcuts.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/http/shortcuts.txt b/docs/topics/http/shortcuts.txt
index 52a2935977..5c8725172a 100644
--- a/docs/topics/http/shortcuts.txt
+++ b/docs/topics/http/shortcuts.txt
@@ -277,8 +277,8 @@ will be raised if more than one object is found.
.. function:: get_list_or_404(klass, *args, **kwargs)
Returns the result of :meth:`~django.db.models.query.QuerySet.filter()` on a
- given model manager, raising :class:`~django.http.Http404` if the resulting
- list is empty.
+ given model manager cast to a list, raising :class:`~django.http.Http404` if
+ the resulting list is empty.
Required arguments
------------------