mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-18 13:06:30 -06:00
Prevent ModuleAdmin from going crazy
This commit is contained in:
parent
043bb0744b
commit
5a2946b146
@ -146,6 +146,7 @@ class InterfaceAdmin(admin.TabularInline):
|
||||
|
||||
class ModuleAdmin(admin.TabularInline):
|
||||
model = Module
|
||||
readonly_fields = ['parent']
|
||||
|
||||
|
||||
@admin.register(Device)
|
||||
|
Loading…
Reference in New Issue
Block a user