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

Thanks @charettes @akaariai @loic for help.
from elsewhere: "Pickles of QuerySets are only valid for the version of Django that was used to generate them."