Re: Custom Ordering and Grouping of Models in Django Admin

2022-06-16 Thread Jacob Rief
Hi, just encountered this same problem today. As Roman reported in ticket-32484 : > Sometimes model names are so unfortunate that default alphabetical order > of models in contrib.admin application makes no sense at all. > The same applies to applicat

Re: Custom Ordering and Grouping of Models in Django Admin

2022-06-16 Thread Mariusz Felisiak
Hi Jacob, It's already solved in Django 4.1+ by https://github.com/django/django/commit/2bee0b4328319eaf6a0d1686677d629f2ecf6dec. You can now override get_app_list() to change the default order on the admin index page. See docs