#NEWLINE# def _ct_query( object , actor_only = None , **kwargs ) : #NEWLINE# #INDENT# ct = ContentType . objects . get_for_model ( object ) #NEWLINE# if ( actor_only is not None ) : #NEWLINE# #INDENT# kwargs [ 'actor_only' ] = actor_only #NEWLINE# #UNINDENT# return Q ( content_type = ct . pk , object_id = object . pk , ** kwargs )