1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 08:21:15 +03:00

Ignore management jobs on activity stream

This commit is contained in:
Matthew Jones 2016-06-23 16:14:39 -04:00
parent bfe9319142
commit 288ecc1c5b

View File

@ -403,6 +403,8 @@ def activity_stream_associate(sender, instance, **kwargs):
continue
if isinstance(obj1, SystemJobTemplate) or isinstance(obj2_actual, SystemJobTemplate):
continue
if isinstance(obj1, SystemJob) or isinstance(obj2_actual, SystemJob):
continue
activity_entry = ActivityStream(
changes=json.dumps(dict(object1=object1,
object1_pk=obj1.pk,