]> git.openstreetmap.org Git - osqa.git/blob - forum_modules/pgfulltext/__init__.py
Applies patches by Justing Grant. Makes several improvements in the db exporter.
[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