Moved efficient QuerySetMappers into philo.utils and replaced them with a more comple...
authorStephen Burrows <stephen.r.burrows@gmail.com>
Tue, 10 May 2011 18:21:02 +0000 (14:21 -0400)
committerStephen Burrows <stephen.r.burrows@gmail.com>
Tue, 10 May 2011 18:57:13 +0000 (14:57 -0400)
commit9cbb247dfb4faa47617438770bb6135155fade16
tree5fa932a596c7b290d8ce9b0a415f41002bf1b73b
parentc9802c5cb6ad16a895cd5434d6f7695d1ae930f7
Moved efficient QuerySetMappers into philo.utils and replaced them with a more complex/differentiated implementation that allows flexibility in terms of cacheing vs. lazy fetching and tree vs passthrough vs ordinary. Passthrough accepts any number of entities, and all Mappers support __setitem__. (Resolves issue #133.) Added a set_value method to Attributes.
philo/models/base.py
philo/models/fields/entities.py
philo/models/nodes.py
philo/utils.py