61👍
✅
Ok, I see, I use is
instead of isinstance()
:
if queryset.model is Library :
# do something.
Source:stackexchange.com
61👍
Ok, I see, I use is
instead of isinstance()
:
if queryset.model is Library :
# do something.