mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-26 01:06:11 -06:00
4751 update docs
This commit is contained in:
parent
d8f78df773
commit
1d27b56fb7
@ -195,7 +195,8 @@ Additionally, a `render()` method is available for convenience. This method acce
|
|||||||
|
|
||||||
When a PluginTemplateExtension is instantiated, context data is assigned to `self.context`. Available data include:
|
When a PluginTemplateExtension is instantiated, context data is assigned to `self.context`. Available data include:
|
||||||
|
|
||||||
* `object` - The object being viewed
|
* `object` - The object being viewed (for detail views only)
|
||||||
|
* `model` - The model of the list view (for list views only)
|
||||||
* `request` - The current request
|
* `request` - The current request
|
||||||
* `settings` - Global NetBox settings
|
* `settings` - Global NetBox settings
|
||||||
* `config` - Plugin-specific configuration parameters
|
* `config` - Plugin-specific configuration parameters
|
||||||
|
Loading…
Reference in New Issue
Block a user