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.
精彩评论