开发者

Description for inlined image field in django

After reading this post I'm wondering how to put a description text above the inline form to notice the开发者_C百科 user admin. I also read this doc but I'm always stuck!

Thanks


You might be looking for help_text but I can't exactly tell from your question where you are expecting the text to show up

Edit: with regards to the comment below.

If you use StackedInline instead of TabularInline, your help text will show up.

If you really want your help text to show up on TabularInline, copy the template from

django/contrib/auth/templates/edit_inline/tabular.html

add field.help_text somewhere around the area to fit.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜