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 15:05:23 +0100 |
| commit | 157575c7c8ad4e55b68077c2d10b41d596038e2e (patch) | |
| tree | f2bb7179a245b44866344e26cfb2a87c460ebda4 | |
| parent | c38925a6018a7943936d1fd2b9038ab5de406545 (diff) | |
[1.7.x] Fix a2dd618 for mysql.
Backport of 3b76502 from master
| -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_'): |
