Update templates to use "object" context var

This commit is contained in:
Jeremy Stretch
2020-11-19 12:24:52 -05:00
parent ebaf5d5bca
commit e5817a926d
27 changed files with 611 additions and 611 deletions

View File

@@ -109,7 +109,7 @@ class ConfigContextView(generic.ObjectView):
format = 'json'
return render(request, 'extras/configcontext.html', {
'configcontext': configcontext,
'object': configcontext,
'format': format,
})
@@ -215,7 +215,7 @@ class ObjectChangeView(generic.ObjectView):
diff_added = diff_removed = objectchange.object_data
return render(request, 'extras/objectchange.html', {
'objectchange': objectchange,
'object': objectchange,
'diff_added': diff_added,
'diff_removed': diff_removed,
'next_change': next_change,