阅读背景:

使用Django REST Framework API进行复合键的数据模型

来源:互联网 

How do you use Django Rest Framework to create an API when the data model has a composite key consisting of two fields? Background: I am trying to make a REST api for a data model (sample data row below- first two entries make the composite key). I am able call upon my data with date field but am getting errors when I try to use the second string field to return a single record. How do you use Django Rest Framework to create




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: