diff options
| author | Marc Tamlyn <marc.tamlyn@gmail.com> | 2014-05-19 14:59:02 +0100 |
|---|---|---|
| committer | Marc Tamlyn <marc.tamlyn@gmail.com> | 2014-05-19 14:59:02 +0100 |
| commit | 3b765029f04a43a2ba432936553e33d7c4a4ce29 (patch) | |
| tree | b2d0b616b7ec90a2443ba6ded61b675e0b77825c /tests/custom_lookups | |
| parent | ecbabc216dd2fd30ee67ee75dd2a1d8a88e4f574 (diff) | |
Fix a2dd618 for mysql.
Diffstat (limited to 'tests/custom_lookups')
| -rw-r--r-- | tests/custom_lookups/tests.py | 2 |
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_'): |
