1
0
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:
Jeremy Stretch
2016-05-20 14:27:57 -04:00
parent 043bb0744b
commit 5a2946b146

View File

@ -146,6 +146,7 @@ class InterfaceAdmin(admin.TabularInline):
class ModuleAdmin(admin.TabularInline):
model = Module
readonly_fields = ['parent']
@admin.register(Device)