def get_profile_model():
 model = None
 profile_string = getattr(settings, 'AUTH_PROFILE_MODULE', None)
 if profile_string:
  (app_label, model_label) = profile_string.split('.')
  model = apps.get_model(app_label, model_label)
 return model

def get_profile_model ( ) : model = None profile_string = getattr ( settings , 'AUTH_PROFILE_MODULE' , None ) if profile_string : ( app_label , model_label ) = profile_string . split ( '.' ) model = apps . get_model ( app_label , model_label ) return model
returns the mezzanine profile model .