Closes #21890: Deprecate the models registry key (#21892)

* Closes #21890: Deprecate the 'models' registry key

* Add deprecation note for 'models' key to development docs
This commit is contained in:
Jeremy Stretch
2026-04-13 09:24:30 -04:00
committed by GitHub
parent 5054566abb
commit 58275977bb
3 changed files with 16 additions and 3 deletions

View File

@@ -32,6 +32,9 @@ Core model features are listed in the [features matrix](./models.md#features-mat
### `models`
!!! warning "Deprecated"
Usage of this key has been deprecated and will be removed in NetBox v4.7. Use `ObjectType.objects.public()` to find registered models.
This key lists all models which have been registered in NetBox which are not designated for private use. (Setting `_netbox_private` to True on a model excludes it from this list.) As with individual features under `model_features`, models are organized by app label.
### `plugins`