def get_active_streams(realm):
 return Stream.objects.filter(realm=realm, deactivated=False)

def get_active_streams ( realm ) : return Stream . objects . filter ( realm = realm , deactivated = False )
return all streams that have not been deactivated .