1
0
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:
Jeremy Stretch
2020-11-19 11:29:18 -05:00
parent 11fa348575
commit e2d2ff8586
40 changed files with 588 additions and 627 deletions

View File

@@ -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,