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…
Reference in New Issue