在django管理员中覆盖模块标题名称 [英] overriding module caption names in django admin

查看:130
本文介绍了在django管理员中覆盖模块标题名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

默认情况下,管理模型按应用分组,应用名称位于标题(帐户,验证码等)中。

By default, the admin models are grouped by the app, and the app name is in the caption (accounts, auth, etc.). How to override the name in the caption without writing the admin templates?

推荐答案

目前,django不提供任何简单的这样做的方式请参阅此门票

At the moment, django doesn't provide any easy way to do this. See this ticket.

这篇关于在django管理员中覆盖模块标题名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆