The previous implementation of adding the # property would cause a model to share it across all instances (essentially polluting global scope). This PR fixes this by creating a Proxy model and setting the attribute on that instead.
This allows a model to be used in multiple QuerySetSequence objects at once (or multiple in the same QuerySetSequence).
The previous implementation of adding the
#
property would cause a model to share it across all instances (essentially polluting global scope). This PR fixes this by creating aProxy
model and setting the attribute on that instead.This allows a model to be used in multiple
QuerySetSequence
objects at once (or multiple in the sameQuerySetSequence
).