Django inline model formset and inline model form handle initial differently

前端 未结 0 1677
心在旅途
心在旅途 2020-12-21 08:02

I\'m using a StackedInline to populate a OneToOneField, but I want to make it optional, so I set min_num=0 and extra = 0.

I also want to include default values when t

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