X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=myslice%2Fsettings.py;h=89565ddb5508da5cd4389c67476e96c0aa9e9e71;hb=refs%2Fheads%2Ffibre;hp=235a18cab1e5df18f93746a41adf6d2f0352de12;hpb=ba476841726dc818c0efd3ed25e42955a39fc504;p=unfold.git diff --git a/myslice/settings.py b/myslice/settings.py index 235a18ca..89565ddb 100644 --- a/myslice/settings.py +++ b/myslice/settings.py @@ -42,9 +42,9 @@ except: # when deployed from a package # this code is run by collectstatic too, so we cannot # assume we have ./static present already -HTTPROOT="/var/myslice-f4f" +HTTPROOT="/var/www/myslice" # the place to store local data, like e.g. the sqlite db -DATAROOT="/var/unfold" +DATAROOT="/var/www/myslice" # if not there, then we assume it's from a devel tree if not os.path.isdir (os.path.join(HTTPROOT,"static")): HTTPROOT=ROOT @@ -199,6 +199,7 @@ ROOT_URLCONF = 'myslice.urls' # Python dotted path to the WSGI application used by Django's runserver. WSGI_APPLICATION = 'unfold.wsgi.application' +#WSGI_APPLICATION = 'myslice.wsgi.application' TEMPLATE_DIRS = [ ] # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates". @@ -290,8 +291,10 @@ CSRF_FAILURE_VIEW = 'manifoldapi.manifoldproxy.csrf_failure' # put stuff under static/ # IA_MEDIA_PREFIX = '/code/' +SESSION_ENGINE = 'django.contrib.sessions.backends.file' + ####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_PASSWORD = "password"