def has_permission(self):
            perms = self.get_permission_required()
            return self.request.user.has_perms(perms)
Override this method to customize the way permissions are checked.
dataset/ETHPy150Open pinax/pinax-likes/pinax/likes/compat.py/PermissionRequiredMixin.has_permission