开发者

Changing section names in Django CMS admin panel

开发者 https://www.devze.com 2023-03-27 08:31 出处:网络
开发者_Python百科Is it possible to change a section name in the Django CMS admin panel? I am using cmsplugin_blog which appears in the admin panel as a section named \'Cmsplugin_Blog\'. I\'d like to r
开发者_Python百科

Is it possible to change a section name in the Django CMS admin panel? I am using cmsplugin_blog which appears in the admin panel as a section named 'Cmsplugin_Blog'. I'd like to rename the title to 'News' since I'm using this module for news publishing.

Can I also change the the word 'Entry' that describes each individual entry for some other word?


An ugly way to do that would be to monkey patch verbose_name and verbose_name_plural on cmsplugin_blog.Entry._meta. As for the section name, I don't know how to do that.

0

精彩评论

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

关注公众号