From dfc35fccc3682cbce184444ef4ed53aa72534b59 Mon Sep 17 00:00:00 2001 From: Nino Date: Wed, 28 Aug 2024 15:18:58 +0200 Subject: [PATCH] Remove is_valid override from serializer --- app/apps/visits/serializers.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/apps/visits/serializers.py b/app/apps/visits/serializers.py index 2e662c3c..b3c87d77 100755 --- a/app/apps/visits/serializers.py +++ b/app/apps/visits/serializers.py @@ -77,9 +77,6 @@ class VisitSerializer(serializers.ModelSerializer): case_id = CaseField() completed = serializers.BooleanField(default=False) - def is_valid(self, raise_exception=False): - return super().is_valid(raise_exception) - def _complete_visit_and_update_aza(self, instance): logger.info("TOP: Executed _complete_visit_and_update_aza") instance.capture_visit_meta_data()