mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-22 23:46:44 -06:00
Document new registry store
This commit is contained in:
parent
ce6d642cb4
commit
a6920dcb24
@ -53,6 +53,10 @@ This store maintains all registered items for plugins, such as navigation menus,
|
|||||||
|
|
||||||
A dictionary mapping each model (identified by its app and label) to its search index class, if one has been registered for it.
|
A dictionary mapping each model (identified by its app and label) to its search index class, if one has been registered for it.
|
||||||
|
|
||||||
|
### `tables`
|
||||||
|
|
||||||
|
A dictionary mapping table classes to lists of extra columns that have been registered by plugins using the `register_table_column()` utility function. Each column is defined as a tuple of name and column instance.
|
||||||
|
|
||||||
### `views`
|
### `views`
|
||||||
|
|
||||||
A hierarchical mapping of registered views for each model. Mappings are added using the `register_model_view()` decorator, and URLs paths can be generated from these using `get_model_urls()`.
|
A hierarchical mapping of registered views for each model. Mappings are added using the `register_model_view()` decorator, and URLs paths can be generated from these using `get_model_urls()`.
|
||||||
|
Loading…
Reference in New Issue
Block a user