Is there a way to create an endpoint (and subsequently view) for a choice field in a Django backend?

后端 未结 0 803
别跟我提以往
别跟我提以往 2021-02-15 11:58

In my Django models.py file, I have a variable ColourChoices = ((0, "GREEN"), (1, "YELLOW"), (2, "RED"), (3, "GREY")) where

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