From c1afc3b3e3b1b85d40d9732f976b3e44e487dd89 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Thu, 15 Aug 2024 18:36:31 -0500 Subject: [PATCH] fix: add `person` to template context for `PersonView.view_profile()` for tailbone compat --- src/wuttaweb/views/people.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/wuttaweb/views/people.py b/src/wuttaweb/views/people.py index b840a25..0ebccf6 100644 --- a/src/wuttaweb/views/people.py +++ b/src/wuttaweb/views/people.py @@ -87,9 +87,10 @@ class PersonView(MasterView): def view_profile(self, session=None): """ """ - instance = self.get_instance(session=session) + person = self.get_instance(session=session) context = { - 'instance': instance, + 'person': person, + 'instance': person, } return self.render_to_response('view_profile', context)