From c93e5cc914c239d97b9f6625f28b56efc967006e Mon Sep 17 00:00:00 2001
From: Henrik Levkowetz <henrik@levkowetz.com>
Date: Mon, 9 Sep 2013 15:31:10 +0000
Subject: [PATCH] Fixed the manage command so it adds our own import path to
 the Python path automatically.  - Legacy-Id: 6112

---
 ietf/manage.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/ietf/manage.py b/ietf/manage.py
index 56c3d7782..01dee38fb 100755
--- a/ietf/manage.py
+++ b/ietf/manage.py
@@ -8,6 +8,10 @@ warnings.filterwarnings("ignore", message="the sets module is deprecated")
 warnings.filterwarnings("ignore", message="the md5 module is deprecated; use hashlib instead")
 warnings.filterwarnings("ignore", message="the sha module is deprecated; use the hashlib module instead")
 
+import os
+import sys
+sys.path.insert(0, os.path.dirname(os.path.dirname(__file__)) )
+
 from django.core.management import execute_manager
 try:
     import settings # Assumed to be in the same directory.