2👍
✅
Django querysets are evaluated lazily, when the values are actually retrieved. If you want to maintain the same sequence of models then you will need to pass them to e.g. the list
constructor in order to firm them up.
existinglist = list(existing)
Source:stackexchange.com