16/04/22 - 18h30
parent
541ea911a0
commit
176c5fed94
|
@ -187,7 +187,7 @@ def get_articles_avis(diction):
|
||||||
|
|
||||||
for x in coll_name.find({'valide': '1', 'locked': '0', '_id':ObjectId(my_internal_id)},
|
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,
|
{ "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),
|
("date_avis",pymongo.ASCENDING),
|
||||||
("note", pymongo.DESCENDING),
|
("note", pymongo.DESCENDING),
|
||||||
]) :
|
]) :
|
||||||
|
@ -362,8 +362,9 @@ def add_articles_avis(diction):
|
||||||
mydata['valide'] = '0'
|
mydata['valide'] = '0'
|
||||||
mydata['locked'] = '1'
|
mydata['locked'] = '1'
|
||||||
mydata['indexed'] = '0'
|
mydata['indexed'] = '0'
|
||||||
|
mydata['indexed'] = '0'
|
||||||
mydata['date_update'] = str(datetime.now())
|
mydata['date_update'] = str(datetime.now())
|
||||||
mydata['date_avis'] = str(datetime.now())
|
mydata['isalaune'] = "0"
|
||||||
|
|
||||||
print(mydata)
|
print(mydata)
|
||||||
|
|
||||||
|
|
|
@ -227,7 +227,7 @@ def send_user_init_pwd_mail(token, account_mail):
|
||||||
|
|
||||||
<br/>
|
<br/>
|
||||||
<div style="background-color:#1962AB;width:20%;text-align:center;margin-left:auto; margin-right:auto;">
|
<div style="background-color:#1962AB;width:20%;text-align:center;margin-left:auto; margin-right:auto;">
|
||||||
<b> <a href="https://dev.mysy-training.com/ResetUserPwd/{objId}" target="_blank" style="color: white;">
|
<b> <a href="https://www.mysy-training.com/ResetUserPwd/{objId}" target="_blank" style="color: white;">
|
||||||
Changez de mot de passe
|
Changez de mot de passe
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
|
@ -320,7 +320,7 @@ Le échéant, vous pouvez finaliser la suppression de votre compte en cliquant s
|
||||||
<font color="red">Important : Cette action entrenerait la suppresion definitive de vos information.</font>
|
<font color="red">Important : Cette action entrenerait la suppresion definitive de vos information.</font>
|
||||||
<br/>
|
<br/>
|
||||||
<div style="background-color:#1962AB;width:20%;text-align:center;margin-left:auto; margin-right:auto;">
|
<div style="background-color:#1962AB;width:20%;text-align:center;margin-left:auto; margin-right:auto;">
|
||||||
<b> <a href="https://dev.mysy-training.com/DeleteUserAccount/{objId}" target="_blank" style="color: white;">
|
<b> <a href="https://www.mysy-training.com/DeleteUserAccount/{objId}" target="_blank" style="color: white;">
|
||||||
Changez de mot de passe
|
Changez de mot de passe
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Reference in New Issue