From 176c5fed9468532166586c72a25c5e74a19e5e92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ch=C3=A9rifBALDE?= Date: Mon, 16 May 2022 18:52:38 +0200 Subject: [PATCH] 16/04/22 - 18h30 --- articles_avis.py | 5 +++-- email_mgt.py | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/articles_avis.py b/articles_avis.py index 6cbaaa4..6f6341c 100644 --- a/articles_avis.py +++ b/articles_avis.py @@ -187,7 +187,7 @@ def get_articles_avis(diction): for x in coll_name.find({'valide': '1', 'locked': '0', '_id':ObjectId(my_internal_id)}, { "indexed": 0, "indexed_desc": 0, "indexed_obj": 0, "indexed_title": 0, - "valide": 0, "locked": 0, "url_formation": 0, }).sort([("title_formation",pymongo.ASCENDING), + "valide": 0, "locked": 0, }).sort([("title_formation",pymongo.ASCENDING), ("date_avis",pymongo.ASCENDING), ("note", pymongo.DESCENDING), ]) : @@ -362,8 +362,9 @@ def add_articles_avis(diction): mydata['valide'] = '0' mydata['locked'] = '1' mydata['indexed'] = '0' + mydata['indexed'] = '0' mydata['date_update'] = str(datetime.now()) - mydata['date_avis'] = str(datetime.now()) + mydata['isalaune'] = "0" print(mydata) diff --git a/email_mgt.py b/email_mgt.py index 1f07f7d..84b3760 100644 --- a/email_mgt.py +++ b/email_mgt.py @@ -227,7 +227,7 @@ def send_user_init_pwd_mail(token, account_mail):
- + Changez de mot de passe @@ -320,7 +320,7 @@ Le échéant, vous pouvez finaliser la suppression de votre compte en cliquant s Important : Cette action entrenerait la suppresion definitive de vos information.
- + Changez de mot de passe