mirror of
https://github.com/ansible/awx.git
synced 2026-05-20 23:37:39 -02:30
Update settings references
* PROOT * Pendo tracking state * ad hoc commands * activity stream * org admin visibility
This commit is contained in:
@@ -14,7 +14,8 @@ class ActivityStreamRegistrar(object):
|
||||
self.models = []
|
||||
|
||||
def connect(self, model):
|
||||
if not getattr(settings, 'ACTIVITY_STREAM_ENABLED', True):
|
||||
from awx.main.conf import tower_settings
|
||||
if not getattr(tower_settings, 'ACTIVITY_STREAM_ENABLED', True):
|
||||
return
|
||||
from awx.main.signals import activity_stream_create, activity_stream_update, activity_stream_delete, activity_stream_associate
|
||||
|
||||
|
||||
Reference in New Issue
Block a user