Prevent the stock Django Group model from appearing in the admin UI (if enabled)

This commit is contained in:
Jeremy Stretch 2024-04-02 15:48:40 -04:00
parent 97db8507ff
commit 6594d8b7d3

5
netbox/users/admin.py Normal file
View 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)