summaryrefslogtreecommitdiff
path: root/tests/custom_lookups/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/custom_lookups/tests.py')
-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_'):