开发者

Sorting and cleaning huge list of django admin modules

I'v got a django app with a lot of model classes. The app in itself is split into python modules, but in my django admin, all those models belongs to a single django app, and they show开发者_如何学JAVA up in the same block, making it hard to find the module you are looking for.

Is there a way to split this huge block of links, without moving the models to different apps?

Thanks.


One possible way to solve this is to override/extend index.html and/or app_index.html admin template (and maybe others). This way you could put the list as you want. See Overriding admin templates for more details on how to do that.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜