#NEWLINE# def model( request , content_type_id ) : #NEWLINE# #INDENT# '\n    ``Actor`` focused activity stream for actor defined by ``content_type_id``,\n    ``object_id``.\n    ' #NEWLINE# ctype = get_object_or_404 ( ContentType , pk = content_type_id ) #NEWLINE# model_class = ctype . model_class ( ) #NEWLINE# return render_to_response ( 'actstream/actor.html' , { #NEWLINE# #INDENT# 'action_list' : models . model_stream ( model_class ) , #NEWLINE# 'ctype' : ctype , #NEWLINE# 'actor' : model_class , #NEWLINE# #UNINDENT# } , context_instance = RequestContext ( request ) )