[Django]-How to separate models in different modules in Django admin's index?

3👍

I tested my solution and it works.

Do this:

class MyModelTest(models.Model):
    # Fields here
    class Meta:
        app_label = 'My other app namespace'

UPDATE:

To achieve your goal (max flexibility) , you will need to modify the template admin/app_index.html and the view django.contrib.admin.sites.app_index to your own needs.

Leave a comment