@receiver(post_save, sender=CourseTeam)
def team_post_save_callback(sender, instance, **kwargs):
 changed_fields = instance.field_tracker.changed()
 if (not kwargs['created']):
  for field in changed_fields:
   if (field not in instance.FIELD_BLACKLIST):
    truncated_fields = truncate_fields(unicode(changed_fields[field]), unicode(getattr(instance, field)))
    truncated_fields['team_id'] = instance.team_id
    truncated_fields['field'] = field
    emit_team_event('edx.team.changed', instance.course_id, truncated_fields)

@ receiver ( post_save , sender = CourseTeam ) def team_post_save_callback ( sender , instance , ** kwargs ) : changed_fields = instance . field_tracker . changed ( ) if ( not kwargs [ 'created' ] ) : for field in changed_fields : if ( field not in instance . FIELD_BLACKLIST ) : truncated_fields = truncate_fields ( unicode ( changed_fields [ field ] ) , unicode ( getattr ( instance , field ) ) ) truncated_fields [ 'team_id' ] = instance . team_id truncated_fields [ 'field' ] = field emit_team_event ( 'edx.team.changed' , instance . course_id , truncated_fields )
emits signal after the team is saved .