Django Members That are in Fact Raw SQL
So the other day I wondered if it wasn't pretty cool if Django models would have something like members that are in fact raw queries. On the bus home it occurred to me that this functionality already exists. Just add a custom manager to a model which always returns querysets with extras.
Something like this (not tested so don't complain if it contains errors):
return
=
...