1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 06:51:10 +03:00

Add modified_by to audit trail

This commit is contained in:
Michael DeHaan 2013-04-23 18:54:27 -04:00
parent 69f8f1e70d
commit c81de8f7b9

View File

@ -66,6 +66,8 @@ class AuditTrailSerializer(BaseSerializer):
def get_related(self, obj):
res = dict()
if obj.modified_by:
res['modified_by'] = reverse(lib.urls.views_UsersDetail, args=(obj.modified_by.pk,))
return res
class ProjectSerializer(BaseSerializer):