]> git.openstreetmap.org Git - osqa.git/blob - forum_modules/pgfulltext/__init__.py
Several improvements in full text search operations.
[osqa.git] / forum_modules / pgfulltext / __init__.py
1 NAME = 'Postgresql Full Text Search'
2 DESCRIPTION = "Enables PostgreSql full text search functionality."
3
4 try:
5     import psycopg2
6     from django.conf import settings
7     CAN_USE = settings.DATABASE_ENGINE in ('postgresql_psycopg2', 'postgresql', )
8 except:
9     CAN_USE = False
10