]> git.openstreetmap.org Git - osqa.git/blob - forum_modules/mysqlfulltext/__init__.py
show the recaptcha field to unauthenticated users without a metter what is the min...
[osqa.git] / forum_modules / mysqlfulltext / __init__.py
1 from forum.base import get_database_engine
2 database_type = get_database_engine()
3
4 NAME = 'Mysql Full Text Search'
5 DESCRIPTION = "Enables Mysql full text search functionality."
6
7 try:
8     import MySQLdb
9     import settings_local
10     CAN_USE = 'mysql' in database_type
11 except Exception, e:
12     import traceback
13     traceback.print_exc()
14     CAN_USE = False