ModelSerializer use knowledge _serializer.save (project = obj) # as an example of a foreign key must be passed save function, or can not successfully add

NoSuchKey

Guess you like

Origin www.cnblogs.com/yoyo008/p/11585882.html