mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Prevent the stock Django Group model from appearing in the admin UI (if enabled)
This commit is contained in:
5
netbox/users/admin.py
Normal file
5
netbox/users/admin.py
Normal file
@ -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)
|
Reference in New Issue
Block a user