阅读背景:

在Django模型中表示工作日的多选字段

来源:互联网 

I've been searching for an elegant way to represent a multi-select weekday field (Mon, Tues, Wed...) in a Django model. I was initially thinking of going integer field using bitwise math but I am not sure if this would be the way to go.I've been searching for an elegant way to repre




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

分享到: