Skip to main content

Put most used and important models to the top of your Django admin index.

Project description


Downloads Latest Version Travis-ci Coveralls License

Put most used and important models to the top of your Django admin index.


pip install django-admin-top-models


  1. Add admin_top_models to INSTALLED_APPS:

  2. Add admin_top_models.middleware.AdminTopModelsMiddleware to MIDDLEWARE_CLASSES:

  3. Add ADMIN_TOP_MODELS_CONFIG setting to your

        ('firstapp', ('First', 'Third')),
        ('secondapp', ('DModel', 'CModel', 'AModel')),
  4. Adjust other options (if you need to. These are defaults):

    # should the '--------------------' spacer be added between your top and the rest models?
    # if this is set to True, order of apps and models will be the same across different languages,
    # otherwise django's order by translated names will be used.


1.1.0 (2016-08-04)

  • Fixed setuptools complaining about missing django

1.0.0 (2016-07-19)

  • Fixed settings being deadly cached
  • Added more tests to reach 100% coverage

0.0.3 (2016-07-09)

  • Fixed RST inconsistent title levels in the README

0.0.2 (2016-07-09)

  • Added README
  • Fixed IndexError when a second item of the config tuple is absent, like in ('thirdapp',)
  • Fixed spacer position shift when the config includes models which are not actually present

0.0.1 (2016-07-08)

  • Initial working version

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-admin-top-models-1.1.0.tar.gz (9.0 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page