Hi,

Le 2018-01-29 à 22:31, [email protected] a écrit :
{"patientId":["This field is required."]}.

This is a generic form validation error. I suspect the problem is with the following code:

|classBookApptSerializer(serializers.ModelSerializer):patientId =MyUserSerializer(many=False)|

Perhaps you could trace the error in serializers.ModelSerializer by using pdb ?

Etienne


--
Etienne Robillard
[email protected]
https://www.isotopesoftware.ca/

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/5dd36011-bbfb-1bc7-3b77-27d8c2335baf%40yandex.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to