summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/fatcat_web/routes.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/python/fatcat_web/routes.py b/python/fatcat_web/routes.py
index fd948262..02808577 100644
--- a/python/fatcat_web/routes.py
+++ b/python/fatcat_web/routes.py
@@ -219,6 +219,10 @@ def generic_editgroup_entity_view(editgroup_id, entity_type, ident, view_templat
return render_template('deleted_entity.html', entity=entity,
entity_type=entity_type, editgroup=editgroup)
+ metadata = entity.to_dict()
+ metadata.pop('extra')
+ entity._metadata = metadata
+
return render_template(view_template, entity_type=entity_type, entity=entity, editgroup=editgroup)