diff --git a/docs/plugins/development/models.md b/docs/plugins/development/models.md index c51d025f4..8394813f8 100644 --- a/docs/plugins/development/models.md +++ b/docs/plugins/development/models.md @@ -26,7 +26,9 @@ Every model includes by default a numeric primary key. This value is generated a Plugin models can leverage certain NetBox features by inheriting from NetBox's `NetBoxModel` class. This class extends the plugin model to enable features unique to NetBox, including: +* Bookmarks * Change logging +* Cloning * Custom fields * Custom links * Custom validation @@ -105,6 +107,8 @@ For more information about database migrations, see the [Django documentation](h !!! warning Please note that only the classes which appear in this documentation are currently supported. Although other classes may be present within the `features` module, they are not yet supported for use by plugins. +::: netbox.models.features.BookmarksMixin + ::: netbox.models.features.ChangeLoggingMixin ::: netbox.models.features.CloningMixin diff --git a/mkdocs.yml b/mkdocs.yml index cde4a0acd..2203039f3 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -211,6 +211,7 @@ nav: - ConfigContext: 'models/extras/configcontext.md' - ConfigTemplate: 'models/extras/configtemplate.md' - CustomField: 'models/extras/customfield.md' + - CustomFieldChoiceSet: 'models/extras/customfieldchoiceset.md' - CustomLink: 'models/extras/customlink.md' - ExportTemplate: 'models/extras/exporttemplate.md' - ImageAttachment: 'models/extras/imageattachment.md'