Faster (no join) default impl. of auditable_workspace_id
This commit is contained in:
parent
85d866956b
commit
0c8d303bdd
@ -64,7 +64,7 @@ class AuditableMixin(object):
|
|||||||
return camel_to_snake(type(self).__name__)
|
return camel_to_snake(type(self).__name__)
|
||||||
|
|
||||||
def auditable_workspace_id(self):
|
def auditable_workspace_id(self):
|
||||||
return getattr_path(self, "workspace.id")
|
return getattr_path(self, "workspace_id")
|
||||||
|
|
||||||
def auditable_displayname(self):
|
def auditable_displayname(self):
|
||||||
return getattr_path(self, "displayname")
|
return getattr_path(self, "displayname")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user