>the difference with the 'site' is that effects all the queries, as it
>is a kind of dynamic filter, as it affects ALL sql queries. and
>inheritance would work well here.
>another possibility would be for row-level authorizations.
Actually both of them would work with Mixins, too - and Mixins would
help making other stuff more simple. So it's more a case of "Mixins are
the more general way". I'm all for mixins, but I would love it if we
could do them just with Pythons multiple inheritance:
class Poll(meta.Mode, SiteMixin, SearchMixin('title')):
...
(Yes, that's a parameterized class up there. I am bad, I know ;-) )
That would require the "get rid of magic model modules", though, as
otherwise it's a real pain to build with the current dynamic module
creation code (yes, I tried to get MI to work with the current model
and stopped working on it, because it's just too complicated to do to
be worth it).
bye, Georg