Gitlab CSE Unil
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
M. Chardon
ADIM
Commits
28814ed5
Commit
28814ed5
authored
Mar 19, 2018
by
M. Chardon
Browse files
modif conf staging
parent
6a745123
Changes
2
Hide whitespace changes
Inline
Side-by-side
adim_project/adim_project/settings/base.py
View file @
28814ed5
...
...
@@ -327,12 +327,14 @@ AAI = {
#
# CAUTION: when adding a ttp service, update the template (templates/adim/aom-modal.inc.html) with MODE_ID where needed
#
MOODLE_HREF
=
"http://moodle2.unil.ch/mod/adim/checkAccess.php?uuid={uuid}"
ATTP
=
{
'OPTIONS'
:
{
'CACHE_TIMEOUT'
:
20
,
# 30,
},
'moodle'
:
{
'CHECK_URL'
:
"http://moodle2.unil.ch/mod/adim/checkAccess.php?uuid={uuid}"
,
'CHECK_URL'
:
MOODLE_HREF
,
'MODE_ID'
:
16
},
'toto'
:
{
...
...
adim_project/adim_project/settings/staging.py
View file @
28814ed5
...
...
@@ -18,12 +18,14 @@ DATABASES = {
'NAME'
:
'adim_dev2'
,
'USER'
:
'adim'
,
'PASSWORD'
:
'ioue634jrs8asdfd0hewq876iujkh9877iuzhiuhg9875kb'
,
'HOST'
:
'l
ocalhost
'
,
'HOST'
:
'l
eia.unil.ch
'
,
},
}
MOODLE_HREF
=
"https://tstmoodle.unil.ch/33/mod/adim/checkAccess.php?uuid={uuid}"
ADIM_PROD
=
False
ADIM_DEBUG_JS
=
False
# Only the ip listed here can access the admin interface
INTERNAL_IPS
=
(
'130.223.159.72'
,
)
INTERNAL_IPS
=
(
'130.223.159.72'
,
)
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment