(self, *, raise_exception=False)
| 463 | id = serializers.UUIDField(required=True, label=_('User ID')) |
| 464 | |
| 465 | def is_valid(self, *, raise_exception=False): |
| 466 | super().is_valid(raise_exception=True) |
| 467 | self._check_user_exists() |
| 468 | |
| 469 | def _check_user_exists(self): |
| 470 | if not User.objects.filter(id=self.data.get('id')).exists(): |
no test coverage detected