1
In your serializer, you’ve set the customer key to read_only
:
customer = serializers.PrimaryKeyRelatedField(read_only=True)
Try setting it to False
or just simply removing this whole line (which seems superfluous to me)
- [Answer]-“settings.DATABASES is improperly configured” error performing syncdb with django 1.6.8
Source:stackexchange.com