From 1d27b56fb72c7c4d878f341a3cb524eedc1c4a23 Mon Sep 17 00:00:00 2001 From: Arthur Date: Fri, 11 Nov 2022 13:33:36 -0800 Subject: [PATCH] 4751 update docs --- docs/plugins/development/views.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/plugins/development/views.md b/docs/plugins/development/views.md index 5769c7903..6d1329a4a 100644 --- a/docs/plugins/development/views.md +++ b/docs/plugins/development/views.md @@ -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: -* `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 * `settings` - Global NetBox settings * `config` - Plugin-specific configuration parameters