 from profiletools . utils import get_my_profile_module_name 
 def fetch_profile ( request ) : 
 from profiletools . utils import get_my_profile_module_name <EOL> def fetch_profile ( request ) : <EOL> """<STR_LIT>""" <EOL> context = { } <EOL> if request . user . is_authenticated ( ) : <EOL> profile_module_name = get_my_profile_module_name ( ) <EOL> profile = getattr ( request , profile_module_name , None ) <EOL> if profile != None : <EOL> context [ profile_module_name ] = profile <EOL> return context </s>
