def make_permission_config_key(view):
 return 'api_permission_{}'.format(view.__class__.__name__)

def make_permission_config_key ( view ) : return 'api_permission_{}' . format ( view . __class__ . __name__ )
generates the the key to be stored in configuration for a given view :type view: rest_framework .