--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/.hgignore Wed Jan 20 01:06:59 2010 +0100
@@ -0,0 +1,7 @@
+syntax: glob
+*.pyc
+
+syntax: regexp
+^web/.htaccess$
+^web/blinkster/.htaccess$
+^web/blinkster/config.py$
--- a/web/blinkster/.htaccess.tmpl Wed Jan 20 00:34:04 2010 +0100
+++ b/web/blinkster/.htaccess.tmpl Wed Jan 20 01:06:59 2010 +0100
@@ -1,11 +1,11 @@
SetHandler python-program
PythonHandler django.core.handlers.modpython
-SetEnv DJANGO_SETTINGS_MODULE pocketfilms.settings
+SetEnv DJANGO_SETTINGS_MODULE blinkster.settings
SetEnv PY_USE_XMLPLUS true
-PythonInterpreter pocketfilms
-PythonOption django.root /~ymh/pocketfilms/pocketfilms
+PythonInterpreter blinkster
+PythonOption django.root /~ymh/blinkster/blinkster
PythonDebug on
-PythonPath "['/Users/ymh/Sites/pocketfilms'] + sys.path"
+PythonPath "['/Users/ymh/Sites/blinkster', '/Users/ymh/Sites/blinkster/lib'] + sys.path"
Header set Pragma "no-cache"
Header set Cache-Control "no-cache"
Header set Expires "-1"
--- a/web/blinkster/ldt/__init__.py Wed Jan 20 00:34:04 2010 +0100
+++ b/web/blinkster/ldt/__init__.py Wed Jan 20 01:06:59 2010 +0100
@@ -1,10 +1,10 @@
import lucene
-import pocketfilms.settings
+from django.conf import settings
#import fileimport
lucene.initVM(lucene.CLASSPATH)
-STORE = lucene.FSDirectory.getDirectory(pocketfilms.settings.INDEX_PATH, False)
+STORE = lucene.FSDirectory.getDirectory(settings.INDEX_PATH, False)
ANALYZER = lucene.PerFieldAnalyzerWrapper(lucene.StandardAnalyzer())
ANALYZER.addAnalyzer("tags",lucene.FrenchAnalyzer())
ANALYZER.addAnalyzer("title",lucene.FrenchAnalyzer())