#7497: AppAdmin class for customizing app listing in admin index
-------------------------------+------------------------------------
     Reporter:  mrts           |                    Owner:  nobody
         Type:  New feature    |                   Status:  new
    Component:  contrib.admin  |                  Version:  master
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Accepted
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+------------------------------------

Comment (by Evgeny Tatarintsev):

 Hi, I implemented apps ordering via "position" attribute in AppConfig
 class

 {{{
 class TestConfig(AppConfig):
     name = 'test'
     verbose_name = 'Test App'
     position = 0
 }}}

 Apps orders by it's "position" and then by "verbose_name", no backwards
 incompatible, if position not set just ordering by name.

 If it's actual I can do pull request.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/7497#comment:21>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/062.b0c206b54b12c639e2641597377e3890%40djangoproject.com.

Reply via email to