Preference to choices based on a value of another model in Django?

后端 未结 0 397
礼貌的吻别
礼貌的吻别 2020-12-22 13:59

I declared my choice as
STATUS_CHOICES = ( (\'A\', \'available\'), (\'N\', \'new\'), (\'R\', \'reserved\'), (\'S\', \'sold-out\'), ) And i use this preferences in my I

相关标签:
回答
  • 消灭零回复
提交回复
热议问题