showing multi etymology now, some toggle is there to limit things.
[worddb.git] / set_paths.py
blob4a5fd0b4bf0f5e1bf2842bc8e0d08a9e034275e5
1 import sys, path, os
2 def set_paths(f):
3 p = path.path(f)
4 sys.path.append(str(p.parent.joinpath("../Django").abspath()))
5 sys.path.append(str(p.parent.joinpath("libs/").abspath()))
6 os.environ["DJANGO_SETTINGS_MODULE"] = "worddb.settings"