mirror of
https://github.com/django/django.git
synced 2025-07-05 18:29:11 +00:00
queryset-refactor: Fixed a typo that's been hiding out for a few months.
git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@7088 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
5df5551d07
commit
04a55d663f
@ -125,7 +125,7 @@ class WhereNode(tree.Node):
|
||||
return ('%s IS %sNULL' % (field_sql, (not value and 'NOT ' or '')),
|
||||
params)
|
||||
elif lookup_type in 'search':
|
||||
return (connection.ops.fulltest_search_sql(field_sql), params)
|
||||
return (connection.ops.fulltext_search_sql(field_sql), params)
|
||||
elif lookup_type in ('regex', 'iregex'):
|
||||
return connection.ops.regex_lookup % (field_sql, cast_sql), params
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user