Disable User & Group admin
This commit is contained in:
parent
8538821c24
commit
a9a1e77d91
|
@ -72,3 +72,9 @@ class ItemAdmin(admin.ModelAdmin):
|
|||
|
||||
admin.site.register(Item, ItemAdmin)
|
||||
admin.site.register(Category)
|
||||
|
||||
from django.contrib.auth.models import User
|
||||
from django.contrib.auth.models import Group
|
||||
|
||||
admin.site.unregister(User)
|
||||
admin.site.unregister(Group)
|
||||
|
|
Loading…
Reference in New Issue