开发者

With all the easy Django utilities, tools, configs, settings, etc. is there REALLY no easy way to define the name of a custom App in Admin?

How can I make LadyGaga开发者_C百科App into "Lady Gaga App" when displayed in Admin. Option #1 is to explain how to make this happen in the definition of the app, or in settings, or in init, etc. Option #2 is to point me to the admin template page where this can be overridden with an example.

Many thanks all.

/Joe


This is not possible right now. There is a Django ticket open for this.


MYYN is right, open the class "Meta" inside of your model, and set "verbose_name" to "Lady Gaga App."


I think this may work:

http://packages.python.org/django-admin-tools/0.3.0/index.html

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜