Standardize on "object" for ObjectView template context

This commit is contained in:
Jeremy Stretch
2020-11-19 11:29:18 -05:00
parent b2bf54d0d7
commit a7be281655
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,