[英]Is there a way to display the extra forms at the top when using django InlineModelAdmin instead of the bottom after all the existing forms?
我在我的 django 管理界面中使用内联( InlineModelAdmin
),以便更轻松地编辑父 model 的模型。 但是,默认情况下,模型的额外 forms 出现在底部。 问题是可能有很多以前的记录,因此您必须滚动到底部才能添加新记录。 有没有办法改变这种默认行为,使新的额外 forms 出现在顶部?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.