1class CustomDjangoModelPermission(permissions.DjangoModelPermissions):
2
3 def __init__(self):
4 self.perms_map = copy.deepcopy(self.perms_map) # from EunChong's answer
5 self.perms_map['GET'] = ['%(app_label)s.view_%(model_name)s']
6