Prevent the stock Django Group model from appearing in the admin UI (if enabled)
This commit is contained in:
parent
8b8d63db2e
commit
53ff85df21
|
|
@ -0,0 +1,5 @@
|
|||
from django.contrib import admin
|
||||
from django.contrib.auth.models import Group as DjangoGroup
|
||||
|
||||
# Prevent the stock Django Group model from appearing in the admin UI (if enabled)
|
||||
admin.site.unregister(DjangoGroup)
|
||||
Loading…
Reference in New Issue