mirror of
https://github.com/netbox-community/netbox.git
synced 2025-12-21 21:02:23 -06:00
Standardize on "object" for ObjectView template context
This commit is contained in:
@@ -156,8 +156,7 @@ class ObjectConfigContextView(generic.ObjectView):
|
||||
format = 'json'
|
||||
|
||||
return render(request, 'extras/object_configcontext.html', {
|
||||
model_name: obj,
|
||||
'obj': obj,
|
||||
'object': obj,
|
||||
'rendered_context': obj.get_config_context(),
|
||||
'source_contexts': source_contexts,
|
||||
'format': format,
|
||||
|
||||
Reference in New Issue
Block a user