summaryrefslogtreecommitdiffstats
path: root/pgfulltext/management.py
diff options
context:
space:
mode:
authorhrcerqueira <hrcerqueira@gmail.com>2010-02-17 14:26:36 +0000
committerhrcerqueira <hrcerqueira@gmail.com>2010-02-17 14:26:36 +0000
commit2ed113bf7a5aee6f3d1bbb2197e895033f9ba403 (patch)
tree40db174acecbcb3ebda18f19a0dfa763cfdfd88d /pgfulltext/management.py
parentdd93c0b1e84b6cdb2eca873bceb8c829aacc48d6 (diff)
downloadaskbot-2ed113bf7a5aee6f3d1bbb2197e895033f9ba403.tar.gz
askbot-2ed113bf7a5aee6f3d1bbb2197e895033f9ba403.tar.bz2
askbot-2ed113bf7a5aee6f3d1bbb2197e895033f9ba403.zip
Complete reorganization of models and managers, and removal of some raw sql queries.
Diffstat (limited to 'pgfulltext/management.py')
-rw-r--r--pgfulltext/management.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pgfulltext/management.py b/pgfulltext/management.py
index 04303092..46f51edc 100644
--- a/pgfulltext/management.py
+++ b/pgfulltext/management.py
@@ -9,7 +9,7 @@ if settings.USE_PG_FTS:
from django.db.models.signals import post_syncdb
def setup_pgfulltext(sender, **kwargs):
- if sender == forum.models:
+ if sender == forum.models_:
install_pg_fts()
post_syncdb.connect(setup_pgfulltext)