阅读背景:

使用order_by()中的Django自定义模型方法属性

来源:互联网 

I'm currently learning Django and some of my models have custom methods to get values formatted in a specific way. Is it possible to use the value of one of these custom methods that I've defined as a property in a model with order_by()?I'm currently learning Django and some of my mo




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

分享到: