From 3b765029f04a43a2ba432936553e33d7c4a4ce29 Mon Sep 17 00:00:00 2001 From: Marc Tamlyn Date: Mon, 19 May 2014 14:59:02 +0100 Subject: [PATCH] Fix a2dd618 for mysql. --- tests/custom_lookups/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/custom_lookups/tests.py b/tests/custom_lookups/tests.py index c7af60b54d6..5f9517cb63b 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_'):