mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00: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