开发者

Django - Admin - Mandatory Inlines

Is it possible configure Mandatory Inlines in Django Admin Site?

For example, Student page has Address as a i开发者_StackOverflownline. Each Student should have at least one address selected from Inline.


Inline Form Validation in Django


From Django 1.7 you can use min_num.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜