80👍
✅
When you define a custom user admin in your app’s admin.py
, you must first unregister the default User
model admin before registering your own.
admin.site.unregister(User)
admin.site.register(User, MyUserAdmin)
Source:stackexchange.com