From 67ad856be0e3b7eb23c0b37e2189e33db67aaadc Mon Sep 17 00:00:00 2001 From: Marion Chardon Date: Fri, 23 Mar 2018 17:21:42 +0100 Subject: [PATCH] correcion ref moodle --- adim_project/adim_project/settings/staging.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/adim_project/adim_project/settings/staging.py b/adim_project/adim_project/settings/staging.py index be723e3..437841b 100644 --- a/adim_project/adim_project/settings/staging.py +++ b/adim_project/adim_project/settings/staging.py @@ -23,9 +23,20 @@ DATABASES = { } ATTP = { + 'OPTIONS': { + 'CACHE_TIMEOUT': 20, # 30, + }, 'moodle': { 'CHECK_URL': "https://tstmoodle.unil.ch/33/mod/adim/checkAccess.php?uuid={uuid}", 'MODE_ID': 16 + }, + 'toto': { + 'CHECK_URL': "http://localhost/tests/phpupload/toto.php?a={uuid}", + 'MODE_ID': 24 + }, + 'my_ttp': { + 'CHECK_URL': "http://my-ttp:8001/ttp/check/{uuid}/", + 'MODE_ID': 32 } } -- GitLab