Skip to main content

A Django app to check that all models have been added to the Django admin site.

Project description

django-check-admin is a Django app that adds a system check to verify that all models have been registered with the Django admin site. This check is useful if all models of a project should normally be registered.


Install the package with pip:

$ pip install django-check-admin

Add 'checkadmin' to INSTALLED_APPS.



Use the Django management command check:

$ python check

If a model is not registered with the Django admin site, an error will be emitted. For example:

The model myapp.MyModel is not registered with an admin site.

If specific models should be ignored by the check, use checkadmin.ignore() or define a list of ignored models in your settings with CHECK_ADMIN_IGNORED_MODELS:

import checkadmin
from myapp.models import MyModel


Now, even if MyModel is not registered with an admin site, an error will not be emitted.

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-check-admin-1.2.0.tar.gz (5.7 kB view hashes)

Uploaded source

Built Distribution

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