瀏覽代碼

Fix a2dd618 for mysql.

Marc Tamlyn 11 年之前
父節點
當前提交
3b765029f0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/custom_lookups/tests.py

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