Permalink
Browse files

Fixed a mistake in my previous commit.

  • Loading branch information...
1 parent a5b0625 commit 51ed1ef1d56b383210830f69594b789ab3457b95 @aaugustin aaugustin committed Sep 22, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/shortcuts/__init__.py
@@ -83,7 +83,7 @@ def _get_queryset(klass):
elif isinstance(klass, ModelBase):
manager = klass._default_manager
else:
- if isinstance(klass, type)
+ if isinstance(klass, type):
klass__name = klass.__name__
else:
klass__name = klass.__class__.__name__

0 comments on commit 51ed1ef

Please sign in to comment.