Django admin page Removing 'Group'

How do I delete the model groups admin page? I want to show that by default, the group model. Thank you very much in advance.


Use the unregister method :

Add to the file :

from django.contrib import admin
from django.contrib.auth.models import Group

You can try this also:

Add to the file

import django.contrib.auth.admin
import django.contrib.auth.models
from django.contrib import auth

Need Your Help

What does "Program type already present" mean?

android android-studio gradle

I'm trying to build an app in Android Studio. After adding the Eclipse Paho library as a gradle dependency(or is it Maven? I'm new to the Android ecosystem), I got the following error:

How to prevent concurrent execution of a job in Grails?

grails quartz-scheduler

I have a quartz job in grails, that needs to be executed in every 5s, but I need this sequentially. In some situations the execution of the job exceeds this 5s, in this case I dont't want to be exe...