def get_user_permission_codename(perm):
 return get_user_permission_full_codename(perm).split(u'.')[1]

def get_user_permission_codename ( perm ) : return get_user_permission_full_codename ( perm ) . split ( u'.' ) [ 1 ]
returns <perm>_<usermodulename> .