diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-03-16 16:17:57 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-03-16 16:17:57 +0000 |
| commit | 50a1880100acf022516634d782606735c82dfb47 (patch) | |
| tree | 897be9be06c9e14306d461d619974a9744ac2505 | |
| parent | 0c84766c58c0f153c0defc6d0c3a5a56dc2a271e (diff) | |
queryset-refactor: Typo fix.
git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@7252 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/db/models/sql/where.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/models/sql/where.py b/django/db/models/sql/where.py index 43e8d83658..59607d5534 100644 --- a/django/db/models/sql/where.py +++ b/django/db/models/sql/where.py @@ -137,7 +137,7 @@ class WhereNode(tree.Node): elif lookup_type == 'isnull': return ('%s IS %sNULL' % (field_sql, (not value and 'NOT ' or '')), params) - elif lookup_type in 'search': + elif lookup_type == 'search': 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 |
