# when deployed from a package
# this code is run by collectstatic too, so we cannot
# assume we have ./static present already
# when deployed from a package
# this code is run by collectstatic too, so we cannot
# assume we have ./static present already
# the place to store local data, like e.g. the sqlite db
DATAROOT="/var/unfold"
if not os.path.isdir(DATAROOT):
# the place to store local data, like e.g. the sqlite db
DATAROOT="/var/unfold"
if not os.path.isdir(DATAROOT):