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
6bf410a2
Commit
6bf410a2
authored
Jun 18, 2015
by
Julien Furrer
Browse files
fixed config
parent
b7fc9b91
Changes
1
Show whitespace changes
Inline
Side-by-side
adim_project/adim_project/settings/base.py
View file @
6bf410a2
...
...
@@ -164,16 +164,6 @@ REST_FRAMEWORK = {
}
# ..... SHIBAUTH
LOCAL_APPS
+=
(
'shibauth'
,
)
AUTHENTICATION_BACKENDS
=
(
'shibauth.shibbolethbackends.ShibbolethBackend'
,)
+
AUTHENTICATION_BACKENDS
try
:
from
.components.shibbauth
import
*
except
ImportError
:
raise
ImproperlyConfigured
(
"Unable to import SHIBAUTH configurations"
)
# ..... CORS HEADERS (https://github.com/ottoyiu/django-cors-headers/)
LOCAL_APPS
+=
(
'corsheaders'
,)
MIDDLEWARE_CLASSES
=
list
(
MIDDLEWARE_CLASSES
)
...
...
@@ -252,6 +242,16 @@ ATTP = {
}
}
# ..... SHIBAUTH
LOCAL_APPS
+=
(
'shibauth'
,
)
AUTHENTICATION_BACKENDS
=
(
'shibauth.shibbolethbackends.ShibbolethBackend'
,)
+
AUTHENTICATION_BACKENDS
try
:
from
.components.shibbauth
import
*
except
ImportError
:
raise
ImproperlyConfigured
(
"Unable to import SHIBAUTH configurations"
)
# ---------- END LOCAL APPS CONFIGURATION
...
...
Write
Preview
Supports
Markdown
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