From 2c83c3e322ad8e1e36f1f8ec91685f8f8c503cd4 Mon Sep 17 00:00:00 2001 From: PCoder Date: Fri, 11 Mar 2022 16:53:15 +0530 Subject: [PATCH] Add save method to index --- app/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/models.py b/app/models.py index bc71105..bed7292 100644 --- a/app/models.py +++ b/app/models.py @@ -673,7 +673,8 @@ Involved scientist''') self.organisation if self and self.organisation else "", self.position if self and self.position else "", self.biography if self and self.biography else "" - ] if self else []) + ] if self else "") + self.save() return True else: return False