diff options
Diffstat (limited to 'pgfulltext/management.py')
-rw-r--r-- | pgfulltext/management.py | 2 |
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) |