[Answered ]-Return Create Object ID Django Rest Framework

2👍

What does your serializer look like? Does it have the ‘id’ in the fields to be included?

http://www.django-rest-framework.org/api-guide/serializers/#specifying-which-fields-to-include

The serializer decides what the object returned looks like in the API

Leave a comment