#NEWLINE# def unstar_review_request( self , review_request ) : #NEWLINE# #INDENT# 'Mark a review request as unstarred.\n\n        This will mark a review request as starred for this user and\n        immediately save to the database.\n        ' #NEWLINE# q = self . starred_review_requests . filter ( pk = review_request . pk ) #NEWLINE# if ( q . count ( ) > 0 ) : #NEWLINE# #INDENT# self . starred_review_requests . remove ( q ) #NEWLINE# #UNINDENT# if ( review_request . public and ( ( review_request . status == ReviewRequest . PENDING_REVIEW ) or ( review_request . status == ReviewRequest . SUBMITTED ) ) ) : #NEWLINE# #INDENT# ( site_profile , is_new ) = LocalSiteProfile . objects . get_or_create ( user = self . user , local_site = review_request . local_site , profile = self ) #NEWLINE# if is_new : #NEWLINE# #INDENT# site_profile . save ( ) #NEWLINE# #UNINDENT# site_profile . decrement_starred_public_request_count ( ) #NEWLINE# #UNINDENT# self . save ( )