Add support for collections.OrderedDict and collections.deque to Attribute serializer mechanism. Also some cleanups in dbserializer.

This commit is contained in:
Griatch 2016-08-31 22:45:57 +02:00
parent 80befa96b6
commit 88b217c0b8
2 changed files with 112 additions and 21 deletions

View file

@ -144,6 +144,7 @@ class Attribute(SharedMemoryModel):
see self.__value_get.
"""
self.db_value = to_pickle(new_value)
#print "value_set, self.db_value:", repr(self.db_value)
self.save(update_fields=["db_value"])
#@value.deleter