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_'):