From: hernani Date: Tue, 5 Apr 2011 17:26:48 +0000 (+0000) Subject: Stupid error. X-Git-Tag: live~376 X-Git-Url: https://git.openstreetmap.org./osqa.git/commitdiff_plain/f03a884d95337038ffbefc3776a1ca9cbc8e32aa?hp=64fe9d425edc29234d9a6bf4dc23c52673fd2bdf Stupid error. git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@934 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- diff --git a/forum_modules/mysqlfulltext/__init__.py b/forum_modules/mysqlfulltext/__init__.py index ff2463f..b9ce96f 100644 --- a/forum_modules/mysqlfulltext/__init__.py +++ b/forum_modules/mysqlfulltext/__init__.py @@ -4,7 +4,7 @@ DESCRIPTION = "Enables Mysql full text search functionality." try: import MySQLdb from django.conf import settings - CAN_USE = settings.DATABASE_ENGINE == 'mysql' + CAN_USE = settings.DATABASE_ENGINE in ('mysql', 'pooled_mysql') except: CAN_USE = False \ No newline at end of file