X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=myslice%2Fsettings.py;h=fe71e108697e4e150918a380f012cf7342231670;hb=aed78ef2aa329dbc3d15aa9dca4795e5cc4464ed;hp=235a18cab1e5df18f93746a41adf6d2f0352de12;hpb=ba476841726dc818c0efd3ed25e42955a39fc504;p=unfold.git diff --git a/myslice/settings.py b/myslice/settings.py index 235a18ca..fe71e108 100644 --- a/myslice/settings.py +++ b/myslice/settings.py @@ -278,7 +278,8 @@ LOGGING = { } } -AUTHENTICATION_BACKENDS = ( 'auth.manifoldbackend.ManifoldBackend','django.contrib.auth.backends.ModelBackend' ) +AUTHENTICATION_BACKENDS = ('auth.manifoldbackend.ManifoldBackend', + 'django.contrib.auth.backends.ModelBackend') ### the view to redirect malformed (i.e. with a wrong CSRF) incoming requests # without this setting django will return a 403 forbidden error, which is fine @@ -292,6 +293,7 @@ CSRF_FAILURE_VIEW = 'manifoldapi.manifoldproxy.csrf_failure' ####SLA##### -SLA_MANAGER_URL = "http://157.193.215.125:4000/sla-service" -SLA_MANAGER_USER = "normal_user" -SLA_MANAGER_PASSWORD = "password" \ No newline at end of file +SLA_MANAGER_URL = "http://157.193.215.125:4001/sla-collector/sla" +#SLA_MANAGER_URL = "http://172.24.76.28:8000/sla" +SLA_MANAGER_USER = "portal" +SLA_MANAGER_PASSWORD = "password"