Activated propcache with new cache system. Still not functioning correctly, also the content cache needs to be handled.
This commit is contained in:
parent
b6383ddab9
commit
fb3259be8c
4 changed files with 87 additions and 66 deletions
|
|
@ -116,7 +116,7 @@ class SharedMemoryModelBase(ModelBase):
|
|||
# dynamically create the properties
|
||||
for field in cls._meta.fields:
|
||||
fieldname = field.name
|
||||
wrappername = fieldname == "id" and "dbref" or fieldname.replace("db_", "")
|
||||
wrappername = fieldname == "id" and "dbid" or fieldname.replace("db_", "")
|
||||
if not hasattr(cls, wrappername):
|
||||
# make sure not to overload manually created wrappers on the model
|
||||
#print "wrapping %s -> %s" % (fieldname, wrappername)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue