Added kfet history date limit when not accessing own account

This commit is contained in:
Dorian Lesbre 2021-02-10 21:32:44 +01:00
parent 46ef12309a
commit fbafdb7134
2 changed files with 17 additions and 1 deletions

View file

@ -5,6 +5,7 @@ Surcharge les settings définis dans common.py
"""
import os
from datetime import timedelta
from .common import * # NOQA
from .common import (
@ -202,3 +203,6 @@ MAIL_DATA = {
"REPLYTO": "BdA-Revente <bda-revente@ens.fr>",
},
}
# Max lookback date into kfet history
KFET_HISTORY_DATE_LIMIT = timedelta(weeks=1)