From 9bfc73d7266c4dbfe200cf6328eb77f948d98726 Mon Sep 17 00:00:00 2001 From: jhyns Date: Wed, 3 May 2023 14:18:10 +0900 Subject: [PATCH] Remove UserAdmin in user admin page --- user/admin.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/user/admin.py b/user/admin.py index 7dd7477..745cdab 100644 --- a/user/admin.py +++ b/user/admin.py @@ -1,7 +1,6 @@ from django.contrib import admin -from django.contrib.auth.admin import UserAdmin from .models import User -admin.site.register(User, UserAdmin) +admin.site.register(User)