

def __init__(self, *args, **kwargs):
    super().__init__(*args, **kwargs)
    field = self.fields.get('user_permissions', None)
    if field:
        self._simplify_permissions(field.queryset)

dataset/ETHPy150Open allegro/ralph/src/ralph/accounts/admin.py RalphUserChangeForm.__init__/original