15093 Allow plugins to register events pipeline (#17717)
* 15093 add events_pipeline registration to plugins * 15093 use list * 15093 add documentation * Update docs/configuration/index.md Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com> * Update docs/configuration/miscellaneous.md Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com> * 15093 review changes * 15093 review changes * Formatting & readability * 15093 review changes * 15093 add test --------- Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
This commit is contained in:
@@ -114,6 +114,7 @@ NetBox looks for the `config` variable within a plugin's `__init__.py` to load i
|
||||
| `max_version` | Maximum version of NetBox with which the plugin is compatible |
|
||||
| `middleware` | A list of middleware classes to append after NetBox's build-in middleware |
|
||||
| `queues` | A list of custom background task queues to create |
|
||||
| `events_pipeline` | A list of handlers to add to [`EVENTS_PIPELINE`](./miscellaneous.md#events_pipeline), identified by dotted paths |
|
||||
| `search_extensions` | The dotted path to the list of search index classes (default: `search.indexes`) |
|
||||
| `data_backends` | The dotted path to the list of data source backend classes (default: `data_backends.backends`) |
|
||||
| `template_extensions` | The dotted path to the list of template extension classes (default: `template_content.template_extensions`) |
|
||||
|
Reference in New Issue
Block a user