attachments by slugs
[edumed.git] / manage.py
index 59bd033..28228a0 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")