#7497: AppAdmin class for customizing app listing in admin index
-------------------------------------------+--------------------------------
          Reporter:  mrts                  |         Owner:  nobody  
            Status:  new                   |     Milestone:  post-1.0
         Component:  django.contrib.admin  |       Version:  SVN     
        Resolution:                        |      Keywords:          
             Stage:  Someday/Maybe         |     Has_patch:  0       
        Needs_docs:  0                     |   Needs_tests:  0       
Needs_better_patch:  0                     |  
-------------------------------------------+--------------------------------
Comment (by sorl):

 What do you think of something like an optional layout?:
 {{{
 admin.site.layout = (
     (_("don't touch this stuff"), {
         'models': ('',
             'django.contrib.sites.models.Site',
         )
     }),
     (_('users & groups'), {
         'models': ('django.contrib.auth.models',
             'User', 'Group'
         )
     }),
     (_('pages & news'), {
         'models': ('',
             'example_project.pages.models.Page',
             'example_project.news.models.News',
         )
     }),
 )
 }}}

 Also adding a description attribute to ModelAdmin.
 You can see and read further on this idea and look at the implementation
 in my project [http://code.google.com/p/sorl-curator/ sorl-curator]

-- 
Ticket URL: <http://code.djangoproject.com/ticket/7497#comment:7>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" 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-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to