Django admin page Removing 'Group'
You need to check the order of INSTALLED_APPS
in settings.py
. Basically, your app should be listed after the django.contrib.auth
.
Use the following code to unregister
the Group inside admin.py
file of your app:
from django.contrib.auth.models import User
admin.site.unregister(Group)
Use the unregister
method :
Add to the admin.py file :
from django.contrib import admin
from django.contrib.auth.models import Group
admin.site.unregister(Group)