First version of OOBHandler put together. Might still have to rework it since it cannot properly handle multiple trackers tracking a single field on a given object.

This commit is contained in:
Griatch 2013-09-14 23:18:36 +02:00
parent 4a5de04956
commit d74cce4dfe
7 changed files with 293 additions and 288 deletions

View file

@ -206,7 +206,11 @@ class Attribute(SharedMemoryModel):
self.no_cache = False
self.db_value = to_store
self.save()
self.at_set(self.cached_value)
try:
self._track_db_value_change.update(self.cached_value)
except AttributeError:
pass
#@value.deleter
def __value_del(self):