mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 15:21:13 +03:00
Add modified_by to audit trail
This commit is contained in:
parent
69f8f1e70d
commit
c81de8f7b9
@ -66,6 +66,8 @@ class AuditTrailSerializer(BaseSerializer):
|
|||||||
|
|
||||||
def get_related(self, obj):
|
def get_related(self, obj):
|
||||||
res = dict()
|
res = dict()
|
||||||
|
if obj.modified_by:
|
||||||
|
res['modified_by'] = reverse(lib.urls.views_UsersDetail, args=(obj.modified_by.pk,))
|
||||||
return res
|
return res
|
||||||
|
|
||||||
class ProjectSerializer(BaseSerializer):
|
class ProjectSerializer(BaseSerializer):
|
||||||
|
Loading…
Reference in New Issue
Block a user