AdvancedΒΆ

shopkit.price.advanced

The model structure in this extension is very preliminary. Ideally, one would want all ones prices to reside in a single table.

One way to approach this would be using a private function _get_valid for PriceBase subclasses and then implementing a get_valid in PriceBase which calls the _get_valid functions for direct parent classes that inherit from PriceBase. This could then be collapsed into a single QuerySet using Q objects. But perhaps this is too complicated. Any comments welcomed.