diff --git a/greg/api/serializers/consent.py b/greg/api/serializers/consent.py index ceed2dbea6aa74806ddafd9c7674070f17871aa0..ef3dff43184eba72e70b78b56b7319407891528d 100644 --- a/greg/api/serializers/consent.py +++ b/greg/api/serializers/consent.py @@ -10,5 +10,5 @@ class ConsentSerializerBrief(serializers.ModelSerializer): class Meta: model = Consent - queryset = Consent.objects.all().select_related('choice') + queryset = Consent.objects.all().select_related("choice") fields = ["type", "consent_given_at", "choice"]