fix: honor tenant validation during plugin imports
This commit is contained in:
1 parent
f558832cd2
commit
7a018807d8
11 files changed
+139
-8
No files matched your search
@@ -40,6 +40,7 @@ def is_exportable_model(model) -> bool:
|
||||
and not opts.abstract
|
||||
and not opts.proxy
|
||||
and not opts.auto_created
|
||||
and not getattr(model, "_netbox_private", False)
|
||||
and opts.app_label not in EXCLUDED_APP_LABELS
|
||||
and opts.label_lower not in EXCLUDED_MODELS
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user