X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=myslice%2Fsettings.py;h=70740e3dcd5022d4d29e8333af6ed441d9335b73;hb=36a36913413d24a5c8683ccc6694b6f518d73118;hp=83d0dc4a15a257c812a2590ebc05ff719f85f99d;hpb=c624b017611ae21cda21f28529cd8412dfc12669;p=unfold.git diff --git a/myslice/settings.py b/myslice/settings.py index 83d0dc4a..70740e3d 100644 --- a/myslice/settings.py +++ b/myslice/settings.py @@ -42,13 +42,12 @@ 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 if not os.path.isdir (os.path.join(HTTPROOT,"static")): HTTPROOT=ROOT - DATAROOT=ROOT if not os.path.isdir(ROOT): raise Exception,"Cannot find ROOT %s for unfold"%ROOT if not os.path.isdir(HTTPROOT): raise Exception,"Cannot find HTTPROOT %s for unfold"%HTTPROOT