summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Tamlyn <marc.tamlyn@gmail.com>2014-05-19 14:59:02 +0100
committerMarc Tamlyn <marc.tamlyn@gmail.com>2014-05-19 15:05:23 +0100
commit157575c7c8ad4e55b68077c2d10b41d596038e2e (patch)
treef2bb7179a245b44866344e26cfb2a87c460ebda4
parentc38925a6018a7943936d1fd2b9038ab5de406545 (diff)
[1.7.x] Fix a2dd618 for mysql.
Backport of 3b76502 from master
-rw-r--r--tests/custom_lookups/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/custom_lookups/tests.py b/tests/custom_lookups/tests.py
index c7af60b54d..5f9517cb63 100644
--- a/tests/custom_lookups/tests.py
+++ b/tests/custom_lookups/tests.py
@@ -111,7 +111,7 @@ class SQLFuncFactory(object):
return SQLFunc(self.name, *args, **kwargs)
-class CustomField(models.Field):
+class CustomField(models.TextField):
def get_lookup(self, lookup_name):
if lookup_name.startswith('lookupfunc_'):