Made the proxy typeclass system work in principle, using a wrapper of the __new__ method for the class.

This commit is contained in:
Griatch 2014-12-20 18:30:39 +01:00
parent 8314d8ba5e
commit 32e44dceab
7 changed files with 26 additions and 78 deletions

View file

@ -51,7 +51,6 @@ class TypedObjectManager(idmapper.manager.SharedMemoryManager):
Overload the standard get. This will limit itself to only
return the current typeclass.
"""
print self.model
kwargs.update({"db_typeclass_path":self.model.path})
return super(TypedObjectManager, self).get(**kwargs)

View file

@ -740,7 +740,7 @@ class PermissionHandler(TagHandler):
#------------------------------------------------------------
# imported for access by other
from src.utils.idmapper.base import SharedMemoryModelBase
#from src.utils.idmapper.base import SharedMemoryModelBase
#class TypeclassBase(SharedMemoryModelBase):
# """