Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed a mistake in my previous commit.

  • Loading branch information...
commit 51ed1ef1d56b383210830f69594b789ab3457b95 1 parent a5b0625
@aaugustin aaugustin authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/shortcuts/__init__.py
View
2  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__
Please sign in to comment.
Something went wrong with that request. Please try again.