1
0
Fork 0

fix: add person to template context for PersonView.view_profile()

for tailbone compat
This commit is contained in:
Lance Edgar 2024-08-15 18:36:31 -05:00
parent a8514da107
commit c1afc3b3e3

View file

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