As reported on reddit recently, the current behaviour of crashing when querying a field that does not exists on all model is not always handy.
The soft mode could be enabled by default, catching any MissingAttribute error and continue, and disabled with something such as queryset.permissive(False).
As reported on reddit recently, the current behaviour of crashing when querying a field that does not exists on all model is not always handy.
The
soft
mode could be enabled by default, catching anyMissingAttribute
error and continue, and disabled with something such asqueryset.permissive(False)
.