1👍
I made this:
f1 = MyModel.objects.using('old').all()
pids = [p.id for p in f1]
f2 = MyModel.objects.exclude(id__in=pids).filter()
But I don’t know if it is good.
👤Nips
Source:stackexchange.com
1👍
I made this:
f1 = MyModel.objects.using('old').all()
pids = [p.id for p in f1]
f2 = MyModel.objects.exclude(id__in=pids).filter()
But I don’t know if it is good.