Add save method to index

This commit is contained in:
PCoder 2022-03-11 16:53:15 +05:30
parent f272481bf6
commit 2c83c3e322

View file

@ -673,7 +673,8 @@ Involved scientist''')
self.organisation if self and self.organisation else "", self.organisation if self and self.organisation else "",
self.position if self and self.position else "", self.position if self and self.position else "",
self.biography if self and self.biography else "" self.biography if self and self.biography else ""
] if self else []) ] if self else "")
self.save()
return True return True
else: else:
return False return False