Access Django's field.choices

前端 未结 3 1377
说谎
说谎 2020-12-25 10:17

Is there a way (without using a form) to access a model fields \'choices\' value?

I want to do something like field.choices - and get the list of values either in a

3条回答
提交回复
热议问题