maposmatic-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Maposmatic-dev] [PATCH] Tell that ocitysmap should be in the python pat


From: David Decotigny
Subject: [Maposmatic-dev] [PATCH] Tell that ocitysmap should be in the python path for maposmatic
Date: Fri, 11 Sep 2009 23:35:17 +0200

Maposmatic now depends on ocitysmap. This dependency can be expressed in
the wsgi script.
---
 www/maposmatic.wsgi-template |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/www/maposmatic.wsgi-template b/www/maposmatic.wsgi-template
index 22017c7..20838e9 100644
--- a/www/maposmatic.wsgi-template
+++ b/www/maposmatic.wsgi-template
@@ -24,6 +24,7 @@
 import os, sys
 
 sys.path.append("/path/to/our/parent/directory")
+sys.path.append("/path/to/our/ocitysmap/top/directory")
 
 os.environ["DJANGO_SETTINGS_MODULE"] = 'www.settings'
 os.environ["MAPOSMATIC_LOG_FILE"] = "/tmp/maposmatic-www.log"
-- 
1.6.0.4





reply via email to

[Prev in Thread] Current Thread [Next in Thread]