Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

magic-removal: fixed #1554 (thanks, Christopher Lenz)

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2594 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 07131c390db60022373dbb9544e1288035f39530 1 parent fec6bb5
@jacobian jacobian authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/shortcuts/__init__.py
View
2  django/shortcuts/__init__.py
@@ -17,7 +17,7 @@ def get_object_or_404(klass, **kwargs):
raise Http404
def get_list_or_404(klass, **kwargs):
- obj_list = klass._default_manager.get_list(**kwargs)
+ obj_list = list(klass._default_manager.filter(**kwargs))
if not obj_list:
raise Http404
return obj_list
Please sign in to comment.
Something went wrong with that request. Please try again.