django rest djangomodelpermissions include get

Solutions on MaxInterview for django rest djangomodelpermissions include get by the best coders in the world

showing results for - "django rest djangomodelpermissions include get"
Ernesto
08 Jul 2017
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
similar questions