mirror of
https://github.com/django/django.git
synced 2025-06-03 18:49:12 +00:00
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…
x
Reference in New Issue
Block a user