If the models are in your application, just don't register them in the first place. If the model is in a third party app like the django.contrib.auth then use AdminSite
unregister
method. You can put this in any admin.py
or urls.py
important is to be discovered by the admin.autodiscover
.
# admin.py
from django.contrib.auth.models import User
admin.site.unregister(User)