Bradley Kirton's Blog

Published on May 21, 2023

Go home

Deregistering models from the Django Admin Panel

To deregister the built-in django User and Group models add the following snippet your project's where the admin site resource is registered.

from django.urls import path
from django.contrib import admin
from django.contrib.auth import models as auth_models

urlpatterns = [