Reordering list of models in Django Admin

@unsinkable2 your code is great for models, but for me it results in error when clicking on the app name.
So I wrapped the app_list in a list (because it was a mapping before.

def get_app_list(self, request, app_label=None):
    """Return the installed apps that have been registered in admin.py"""
    app_dict = self._build_app_dict(request, app_label)
    app_list = list(app_dict.values())
    return app_list
2 Likes