Fixed #21430 -- Warning raised when unpickling Models and QuerySet from different versions

Thanks @charettes @akaariai @loic for help.
if you put QuerySet in `` then I assume you are referring to the class which is QuerySet