[1.7.x] Fix a2dd618 for mysql.

Backport of 3b76502 from master
This commit is contained in:
Marc Tamlyn 2014-05-19 14:59:02 +01:00
parent c38925a601
commit 157575c7c8
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ class SQLFuncFactory(object):
return SQLFunc(self.name, *args, **kwargs) return SQLFunc(self.name, *args, **kwargs)
class CustomField(models.Field): class CustomField(models.TextField):
def get_lookup(self, lookup_name): def get_lookup(self, lookup_name):
if lookup_name.startswith('lookupfunc_'): if lookup_name.startswith('lookupfunc_'):