def normalize_name(name):
    new = re.sub('(((?<=[a-z])[A-Z])|([A-Z](?![A-Z]|$)))', '_\\1', name)
    return new.lower().strip('_')
Remove all the permissions for this :class:`User` or :class:`Group`\ .
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/contrib/formtools/wizard/views.py/normalize_name--crossover with--dataset/ETHPy150Open callowayproject/django-objectpermissions/objectpermissions/registration.py/revoke_all_object_perm