阅读背景:

在Django模型表单中使用Model属性

来源:互联网 

I am attempting to use model properties like fields within a model form, but so far haven't had any luck. The result is that the form renders only the model fields, and not the property I defined. Any idea how to get the form to recognize the property added to the model? I expect to see the latitude property added as just another field in the form.I am attempting to use model properties like fi




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

分享到: