阅读背景:

Python / Django -表单选择值是对象Id…不能获取对象

来源:互联网 

I have a form select box that has values corresponding to objects. The user selects an input and the form submits. I then want to take that value and retrieve the object that has an ID equivalent to the selected form value. However, when I try to do so, I'm getting an error like so:I have a form select box that has values corres




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

分享到: