add submodule librarian
authorJan Szejko <j-sz@o2.pl>
Thu, 3 Mar 2016 08:33:56 +0000 (09:33 +0100)
committerJan Szejko <j-sz@o2.pl>
Thu, 3 Mar 2016 08:38:39 +0000 (09:38 +0100)
manage.py

index 59bd033..b339171 100755 (executable)
--- a/manage.py
+++ b/manage.py
@@ -2,6 +2,11 @@
 import os
 import sys
 
 import os
 import sys
 
+ROOT = os.path.dirname(os.path.abspath(__file__))
+sys.path = [
+    os.path.join(ROOT, '/lib/librarian'),
+] + sys.path
+
 if __name__ == "__main__":
     os.environ.setdefault("DJANGO_SETTINGS_MODULE", "edumed.settings")
 
 if __name__ == "__main__":
     os.environ.setdefault("DJANGO_SETTINGS_MODULE", "edumed.settings")