def _make_profile_image_name(username):
 hash_input = (settings.PROFILE_IMAGE_SECRET_KEY + username)
 return hashlib.md5(hash_input.encode('utf-8')).hexdigest()

def _make_profile_image_name ( username ) : hash_input = ( settings . PROFILE_IMAGE_SECRET_KEY + username ) return hashlib . md5 ( hash_input . encode ( 'utf-8' ) ) . hexdigest ( )
returns the user-specific part of the image filename .