X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=myslice%2Fsettings.py;h=e72d01b0eeafdcc08978cf628f4a5e54fa4cbe28;hb=5ffff912caffe3c68f1cb76031e21a524c3f51e5;hp=620ab5ba3ea9df6ffbd545f1018d2e22480c54b1;hpb=ed078cce90a313ddd6e5b41ecff6c14344a99220;p=unfold.git diff --git a/myslice/settings.py b/myslice/settings.py old mode 100755 new mode 100644 index 620ab5ba..e72d01b0 --- a/myslice/settings.py +++ b/myslice/settings.py @@ -42,7 +42,7 @@ except: # when deployed from a package # this code is run by collectstatic too, so we cannot # assume we have ./static present already -HTTPROOT="/usr/share/unfold" +HTTPROOT="/var/myslice-f4f" # the place to store local data, like e.g. the sqlite db DATAROOT="/var/unfold" # if not there, then we assume it's from a devel tree @@ -236,6 +236,8 @@ INSTALLED_APPS = [ # Uncomment the next line to enable admin documentation: # 'django.contrib.admindocs', 'portal', + # SLA + 'sla', ] # this app won't load in a build environment if not building: INSTALLED_APPS.append ('rest') @@ -276,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 @@ -287,3 +290,12 @@ CSRF_FAILURE_VIEW = 'manifoldapi.manifoldproxy.csrf_failure' #IA_JS_FORMAT = "