mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Prevent ModuleAdmin from going crazy
This commit is contained in:
@ -146,6 +146,7 @@ class InterfaceAdmin(admin.TabularInline):
|
||||
|
||||
class ModuleAdmin(admin.TabularInline):
|
||||
model = Module
|
||||
readonly_fields = ['parent']
|
||||
|
||||
|
||||
@admin.register(Device)
|
||||
|
Reference in New Issue
Block a user