fix: add person
to template context for PersonView.view_profile()
for tailbone compat
This commit is contained in:
parent
a8514da107
commit
c1afc3b3e3
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue