summaryrefslogtreecommitdiff
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:03:29 -0400
commit7e6c0387b32669babba91dca6538609330eb5e26 (patch)
treeceef9fa8cec315a76e19ab519935ebfd97b43dca
parent11a8a7f2660cd864b56061e32d74304b80da11ba (diff)
[1.5.x] Clarified get_list_or_404 docs, refs #14150.
Backport of e161e4ff11 from master
-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 961f0b9d96..6f4c78f542 100644
--- a/docs/topics/http/shortcuts.txt
+++ b/docs/topics/http/shortcuts.txt
@@ -275,8 +275,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
------------------