On Fri, Sep 4, 2009 at 8:00 AM, patrickk <[email protected]> wrote:
> > hi everyone, > > I just wanted to outline a basic idea in order to improve (at least > from my point of view) the index-page of the admin-interface. I don´t > have any code to share (so far), so I´m basically explaining my idea - > if people agree that this is useful, I´m trying to submit a patch. > > here´s the idea: currently, the admin index page is strictly coupled > to the settings-file of my project (the INSTALLED_APPS). to me, that > doesn´t seem the best way. a while ago, the admin-definition for apps > has been coupled to the model-definition ... now there is a file > called admin.py, which is much better IMHO. so why don´t we have a > file admin.py for every project? within that file, one could define > which apps (from INSTALLED_APPS) should be visible at the admin index > page. moreover, the possibility to reorder/rearrange the way these > apps are shown would be great. > e.g, when I´m using djangos auth-app and I´m extending the user-model > with a user-profile, I´m having "auth" (with users and groups) and > "user" (with user profile) on my admin index page. orderd by names, > auth is very much on the top of my page while user is at the bottom. > for an editor, this is probably hard to understand (because the editor > doesn´t know anything about apps). for an editor, it´d more > comfortable having a headline "user management" with the apps "users", > "groups" and "user profiles". this re-arrangement could be defined in > admin.py. > > I hope this is somehow understandable. it´s a bit hard to explain in a > foreign language ... it´d be great to hear other opinions. > > thanks, > patrick I think this sounds like a good idea. This was one of the first things I wanted to do when getting started with the admin app. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---
