mirror of https://github.com/django/django.git
Fix a2dd618
for mysql.
This commit is contained in:
parent
ecbabc216d
commit
3b765029f0
|
@ -111,7 +111,7 @@ class SQLFuncFactory(object):
|
||||||
return SQLFunc(self.name, *args, **kwargs)
|
return SQLFunc(self.name, *args, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
class CustomField(models.Field):
|
class CustomField(models.TextField):
|
||||||
|
|
||||||
def get_lookup(self, lookup_name):
|
def get_lookup(self, lookup_name):
|
||||||
if lookup_name.startswith('lookupfunc_'):
|
if lookup_name.startswith('lookupfunc_'):
|
||||||
|
|
Loading…
Reference in New Issue