Change importing of HMS in context.py, to support changes in HMS.

portnov [2008-06-12 09:56:55]
Change importing of HMS in context.py, to support changes in HMS.
Filename
mgmt/context.py
diff --git a/mgmt/context.py b/mgmt/context.py
index f1e2363..505dc2f 100644
--- a/mgmt/context.py
+++ b/mgmt/context.py
@@ -10,6 +10,10 @@ import debug

 from models import *

+hms.modules.settings = settings
+hms.modules.exports.append('settings')
+hms.modules.init()
+
 def make_chart(path):
   p1 = re.compile('/projects/(\d+)/$')
   m = p1.match(path)
ViewGit