How to set default value for a model field based on enum in Django?

后端 未结 0 1141
终归单人心
终归单人心 2020-12-15 22:52

I\'m using Django 2.2.5 and have multiple choice fields based on enums in my models. For an unknown reason I kow get a migration error when using an enum for choice field du

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