def model(request, content_type_id):
 ctype = get_object_or_404(ContentType, pk=content_type_id)
 model_class = ctype.model_class()
 return render_to_response('actstream/actor.html', {'action_list': models.model_stream(model_class), 'ctype': ctype, 'actor': model_class}, context_instance=RequestContext(request))

def model ( request , content_type_id ) : ctype = get_object_or_404 ( ContentType , pk = content_type_id ) model_class = ctype . model_class ( ) return render_to_response ( 'actstream/actor.html' , { 'action_list' : models . model_stream ( model_class ) , 'ctype' : ctype , 'actor' : model_class } , context_instance = RequestContext ( request ) )
returns a model of e-mail messages .