summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary Wilson Jr <gary.wilson@gmail.com>2007-07-22 03:45:03 +0000
committerGary Wilson Jr <gary.wilson@gmail.com>2007-07-22 03:45:03 +0000
commit7a16a1d81af3922f7f2166b900da20e3df5bed02 (patch)
tree0cce9928be30ac9181e7231d890d2d0605f85ef8
parentcae92ae615b8622c25266463e392ef913066ea21 (diff)
Corrected typo in [5746].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5747 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/shortcuts/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/shortcuts/__init__.py b/django/shortcuts/__init__.py
index e4bba0919e..2603eddf83 100644
--- a/django/shortcuts/__init__.py
+++ b/django/shortcuts/__init__.py
@@ -50,7 +50,7 @@ def get_object_or_404(klass, *args, **kwargs):
def get_list_or_404(klass, *args, **kwargs):
"""
Use filter() to return a list of objects, or raise a Http404 exception if
- the list is emtpy.
+ the list is empty.
klass may be a Model, Manager, or QuerySet object. All other passed
arguments and keyword arguments are used in the filter() query.