mirror of
https://github.com/django/django.git
synced 2025-01-26 10:09:42 +00:00
Fixed a mistake in my previous commit.
This commit is contained in:
parent
a5b062576b
commit
51ed1ef1d5
@ -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__
|
||||
|
Loading…
x
Reference in New Issue
Block a user